aboutsummaryrefslogtreecommitdiff
path: root/src/tests/example_stack/benches/main.rs
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-03-19 22:38:59 +0000
committerAria Shrimpton <me@aria.rip>2024-03-19 22:38:59 +0000
commit18be480e89e773f827da930d98618db4a9c9d9f9 (patch)
tree1ec5ed902a9e40b136c0e8f3d59d241816e719c5 /src/tests/example_stack/benches/main.rs
parent05715322ad643b39234e0d2f752acc762e760b35 (diff)
benchmark updates
Diffstat (limited to 'src/tests/example_stack/benches/main.rs')
-rw-r--r--src/tests/example_stack/benches/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/example_stack/benches/main.rs b/src/tests/example_stack/benches/main.rs
index 5b6076b..2fb6dd3 100644
--- a/src/tests/example_stack/benches/main.rs
+++ b/src/tests/example_stack/benches/main.rs
@@ -1,7 +1,7 @@
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
fn run_benches(c: &mut Criterion) {
- for size in [1_000_000, 10_000_000, 50_000_000].iter() {
+ for size in [10, 1000, 10_000].iter() {
c.bench_with_input(
BenchmarkId::new("example_stack-push_pop", size),
size,