Jeff Vander Stoep | d036b62 | 2020-12-17 19:59:02 +0100 | [diff] [blame] | 1 | |
| 2 | |
| 3 | A port of the libtest (unstable Rust) benchmark runner to Rust stable releases. |
| 4 | Supports running benchmarks and filtering based on the name. Benchmark |
| 5 | execution works exactly the same way and no more (Warning: black_box is not |
| 6 | working perfectly!). |
| 7 | |
| 8 | Please read the `API documentation here`__ (it includes a usage example). |
| 9 | |
| 10 | __ https://docs.rs/bencher/ |
| 11 | |
| 12 | |build_status|_ |crates|_ |
| 13 | |
| 14 | .. |build_status| image:: https://travis-ci.org/bluss/bencher.svg?branch=master |
| 15 | .. _build_status: https://travis-ci.org/bluss/bencher |
| 16 | |
| 17 | .. |crates| image:: https://meritbadge.herokuapp.com/bencher |
| 18 | .. _crates: https://crates.io/crates/bencher |
| 19 | |
| 20 | Recent Changes |
| 21 | -------------- |
| 22 | |
| 23 | - 0.1.5 |
| 24 | |
| 25 | - Support trailing commas in the macros by @tbu- |
| 26 | |
| 27 | - 0.1.4 |
| 28 | |
| 29 | - Add crates.io categories |
| 30 | |
| 31 | - 0.1.3 |
| 32 | |
| 33 | - Fix doc URL |
| 34 | - Fix clippy warnings (by @llogiq) |
| 35 | |
| 36 | - 0.1.2 |
| 37 | |
| 38 | - Remove unused components (speeds up build time of the crate) |
| 39 | |
| 40 | - 0.1.1 |
| 41 | |
| 42 | - Add a provisional implementation of ``black_box``. It's not as good as the |
| 43 | original version. (Since reproducibility is key, we will use the same |
| 44 | implementation on both stable and nightly.) |
| 45 | - Add example for how to set up this to run with ``cargo bench`` on stable. |
| 46 | This crate is itself an example of that, see ``Cargo.toml`` and ``benches/`` |
| 47 | |
| 48 | - 0.1.0 |
| 49 | |
| 50 | - Initial release |
| 51 | |
| 52 | Authors |
| 53 | ------- |
| 54 | |
| 55 | Principal original authors of the benchmark and statistics code in the Rust |
| 56 | project are: |
| 57 | |
| 58 | + Brian Anderson |
| 59 | + Graydon Hoare |
| 60 | |
| 61 | Very very many have contributed to lib.rs and stats.rs however, so author |
| 62 | credit is due to: |
| 63 | |
| 64 | + The Rust Project Developers |
| 65 | |
| 66 | License |
| 67 | ------- |
| 68 | |
| 69 | Dual-licensed just like the Rust project. |
| 70 | |
| 71 | Licensed under the Apache License, Version 2.0 |
| 72 | http://www.apache.org/licenses/LICENSE-2.0 or the MIT license |
| 73 | http://opensource.org/licenses/MIT, at your |
| 74 | option. This file may not be copied, modified, or distributed |
| 75 | except according to those terms. |