-
Notifications
You must be signed in to change notification settings - Fork 112
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
Create benchmark scripts for demo-rollup running in native mode #458
Conversation
Codecov Report
|
@dubbelosix I am trying to run benchmark on my baremetal machine with 16 cores and it doesn't seem to fit in 20 seconds:
What can be a problem? |
so I checked this issue and it seems like you really can't control the exact amount of time criterion runs - it only takes the measurement time as a hint. tried looking to see if there are other frameworks that have more fine grained control, but didn't find too much. that's one of the reasons i also have the other "rollup_coarse_measure.rs" |
Description
We want to be able to measure the native performance of the SDK, and to this purpose we're benchmarking demo-rollup running in native mode. the process for the benching is as follows
demo-rollup/benches/README.md contains the detailed documentation
Tools used:
There are 2 scripts for benchmarking -
Also contains a Makefile for wrapping all the scripts + cargo flamegraph (sample output shown)
Added README.md explaining the bench methodology
Linked Issues