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

refactor(benchmark) Move benchmarks to Rust #7134

Merged
merged 8 commits into from
Aug 28, 2020
Merged

refactor(benchmark) Move benchmarks to Rust #7134

merged 8 commits into from
Aug 28, 2020

Conversation

SyrupThinker
Copy link
Contributor

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.

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.
@bartlomieju
Copy link
Member

@SyrupThinker great PR! Could you please rebase to include latest benchmark for core_json_ops?

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.

Could you put those utils in test_util and test them there?

@ry ry requested a review from piscisaureus August 27, 2020 21:14
Copy link
Member

@piscisaureus piscisaureus left a 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.

Copy link
Member

@ry ry left a 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

@ry ry merged commit 31f32ed into denoland:master Aug 28, 2020
@ry ry mentioned this pull request Aug 28, 2020
@ry
Copy link
Member

ry commented Aug 28, 2020

After landing it looks like this has made significant changes to the benchmarks...

Screen Shot 2020-08-28 at 2 37 26 PM

@SyrupThinker SyrupThinker deleted the rust_bench branch September 18, 2020 11:16
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.

None yet

4 participants