diff --git a/README.md b/README.md index b4b93dc4c..59cfdbe44 100644 --- a/README.md +++ b/README.md @@ -104,5 +104,5 @@ $ rustup install nightly Run the benchmarks: ```bash -$ cargo +nightly bench --features="unstable" +$ cargo +nightly bench --features="asm,unstable" ``` diff --git a/src/log.rs b/src/log.rs index 4eef78526..a45bff956 100644 --- a/src/log.rs +++ b/src/log.rs @@ -149,7 +149,7 @@ mod bench { #[bench] fn event_bench(bencher: &mut Bencher) { let start_hash = Default::default(); - let events = create_ticks(&start_hash, 100_000, 8); + let events = create_ticks(&start_hash, 10_000, 8); bencher.iter(|| { assert!(verify_slice(&events, &start_hash)); }); @@ -158,7 +158,7 @@ mod bench { #[bench] fn event_bench_seq(bencher: &mut Bencher) { let start_hash = Default::default(); - let events = create_ticks(&start_hash, 100_000, 8); + let events = create_ticks(&start_hash, 10_000, 8); bencher.iter(|| { assert!(verify_slice_seq(&events, &start_hash)); });