some possible benching later
This commit is contained in:
parent
a8c869dc14
commit
9d3fd7f8de
1 changed files with 17 additions and 0 deletions
|
|
@ -1498,6 +1498,23 @@ You saved my soul"
|
|||
assert_eq!(name, VerseName::Verse { number: 5 });
|
||||
}
|
||||
|
||||
// extern crate test;
|
||||
// use test::{Bencher, black_box};
|
||||
|
||||
// #[bench]
|
||||
// fn bench_pow(b: &mut Bencher) {
|
||||
// // Optionally include some setup
|
||||
// let x: f64 = 211.0 * 11.0;
|
||||
// let y: f64 = 301.0 * 103.0;
|
||||
|
||||
// b.iter(|| {
|
||||
// // Inner closure, the actual test
|
||||
// for i in 1..100 {
|
||||
// black_box(x.powf(y).powf(x));
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
|
||||
// #[test]
|
||||
// pub fn test_lisp_conversion() {
|
||||
// let value = test_lisp_song();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue