Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add benchmark for trin #1660

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KolbyML
Copy link
Member

@KolbyML KolbyML commented Feb 1, 2025

What was wrong?

We didn't have a reliable way to test if we made a performance improvement or regression in Trin.

How was it fixed?

By building trin-bench which contains three parts

  • Trin Sender, a trin instance which sends offers
  • Trin Receiver a trin instance which recieves offers
  • Trin Bench the coordinator which gets the data for the test and makes the requests.

You can set the era1 range you want to test with, then run the test which will generate flamegraphs so you can review what functions are using all our CPU cycles

TODO: in future PR's

add support for other Portal clients, so we can see how performent each client is relative to each other

@KolbyML KolbyML marked this pull request as draft February 1, 2025 20:39
@KolbyML KolbyML self-assigned this Feb 1, 2025
@KolbyML KolbyML force-pushed the trin-benchmark branch 3 times, most recently from 0f8306b to 2a97753 Compare February 6, 2025 14:56
@KolbyML KolbyML marked this pull request as ready for review February 6, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant