Skip to content

Commit

Permalink
Test with more cores
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Feb 26, 2020
1 parent bde1a54 commit ce093cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ default-features = false
rand = "0.7"
rayon = "1.3"
criterion = "0.3"
bustle = "0.2"
bustle = "0.3"

[profile.bench]
debug = true
Expand Down
4 changes: 3 additions & 1 deletion benches/bustle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@ where
}

fn main() {
Workload::new(1, Mix::read_heavy()).run::<Table<u64>>();
for n in 1..=num_cpus::get() {
Workload::new(n, Mix::read_heavy()).run::<Table<u64>>();
}
}

0 comments on commit ce093cc

Please sign in to comment.