-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
refactor(benchmark) Move benchmarks to Rust #7134
Conversation
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
@SyrupThinker great PR! Could you please rebase to include latest benchmark for
Could you put those utils in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I guess over time we can condense this down to be (hopefully a lot) more concise.
PS: I did not run the benchmark suite locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SyrupThinker Thank you for this work! Nicely done.
I'm a bit worried this is going to break something - but let's land it and closely monitor the benchmarks.
LGTM
All benchmarks are done in Rust and can be invoked with
cargo bench
.Currently this has it's own "harness" that behaves like
./tools/benchmark.py
did.Because of this tests inside
cli/bench
are currently not run.This should be switched to the language provided harness
once the
#[bench]
attribute has been stabilized.