Skip to content

Commit

Permalink
Revert demo
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdavid committed Dec 2, 2024
1 parent 69f3217 commit 0612e33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions benchmarks/src/btreemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ pub fn btreemap_values_rev_10mib_values() -> BenchResult {
#[bench(raw)]
pub fn btreemap_iter_count_small_values() -> BenchResult {
let mut btree = BTreeMap::new(DefaultMemoryImpl::default());
let size: u32 = 15_000;
let size: u32 = 10_000;
for i in 0..size {
btree.insert(i, vec![]);
}
Expand All @@ -351,7 +351,7 @@ pub fn btreemap_iter_count_small_values() -> BenchResult {
pub fn btreemap_iter_count_10mib_values() -> BenchResult {
let mut btree = BTreeMap::new(DefaultMemoryImpl::default());

let size: u8 = 10;
let size: u8 = 200;

// Insert 200 10MiB values.
for i in 0..size {
Expand Down
4 changes: 2 additions & 2 deletions canbench_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ benches:
scopes: {}
btreemap_iter_count_10mib_values:
total:
instructions: 21376
instructions: 475842
heap_increase: 0
stable_memory_increase: 0
scopes: {}
btreemap_iter_count_small_values:
total:
instructions: 14049692
instructions: 9366511
heap_increase: 0
stable_memory_increase: 0
scopes: {}
Expand Down

0 comments on commit 0612e33

Please # to comment.