-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add README to benches #11508
Add README to benches #11508
Conversation
benches/README.md
Outdated
|
||
## Running the benchmarks | ||
|
||
1. If cargo isn't already installed, [install it](https://www.rust-lang.org/tools/install). |
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.
Do we really need to walk users through installing cargo here? If they don't have cargo, then they likely also don't have other required dependencies.
Maybe just mention that bevy has some dependencies and link off to https://bevyengine.org/learn/book/getting-started/setup/ or something?
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.
I changed the wording and made it link to the website.
benches/README.md
Outdated
|
||
## Criterion | ||
|
||
Bevy's benchmarks use [Criterion](https://crates.io/crates/criterion) to chart and track benchmarks over time. If you want to learn more about using Criterion for benchmarking, you can read the [Criterion.rs documentation](https://bheisler.github.io/criterion.rs/book/criterion_rs.html). |
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.
"benchmarks use criterion to chart and track benchmarks over time" feels a bit misleading.
Individual developers can generate charts and/or compare a particular set of changes against a baseline.
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.
Changed the wording a bit.
Co-authored-by: Rob Parrett <robparrett@gmail.com>
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.
I'm happy enough with this, and it's good to get something there to iterate on.
# Objective It is unclear how to run Bevy's benchmarks ## Solution Add a README to the benches, with documentation that tells you what the benchmarks are, and how to run them. --------- Co-authored-by: Rob Parrett <robparrett@gmail.com>
Objective
It is unclear how to run Bevy's benchmarks
Solution
Add a README to the benches, with documentation that tells you what the benchmarks are, and how to run them.