forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `#[bench]` attribute is [currently unstable][1], and is only usable on nightly Rust. However, being able to benchmark code with `cargo bench` is very useful functionality when writing performance-focused code, and something that the Cargo documentation currently glosses over. Some useful information on how to get benchmark tests up and running, with necessary caveats about stability, would likely be very helpful to new users. [1]: rust-lang/rust#29553
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters