From 0de9c7241cadf3d2f3369be0253763a6ed544561 Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 4 Mar 2025 14:57:22 +0100 Subject: [PATCH 1/5] ci: Upgrade Rust toolchain to 1.84 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5e20e449..c1d61e3d 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.78.0" +channel = "1.84.0" targets = ["wasm32-unknown-unknown"] From f3d0e1811aecffa9587cb6d316599f4fd5c44d0f Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 4 Mar 2025 14:58:49 +0100 Subject: [PATCH 2/5] Also upgrade CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f5ad72c..afd4f2c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [ 1.76.0 ] + rust: [ 1.84.0 ] steps: - uses: actions/checkout@v4 From 369dff1bc3c11b5b18009e80e364a33cc29e6927 Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 4 Mar 2025 15:06:54 +0100 Subject: [PATCH 3/5] Fix clippy --- src/btreemap/node/io.rs | 4 ++-- src/btreemap/node/v1.rs | 4 ++-- src/btreemap/node/v2.rs | 4 ++-- src/memory_manager.rs | 6 +++--- src/reader.rs | 6 +++--- src/writer.rs | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/btreemap/node/io.rs b/src/btreemap/node/io.rs index f73cb9bc..9061f9fb 100644 --- a/src/btreemap/node/io.rs +++ b/src/btreemap/node/io.rs @@ -17,7 +17,7 @@ pub struct NodeReader<'a, M: Memory> { // Note: The `Memory` interface is implemented so that helper methods such `read_u32`, // `read_struct`, etc. can be used with a `NodeReader` directly. -impl<'a, M: Memory> Memory for NodeReader<'a, M> { +impl Memory for NodeReader<'_, M> { unsafe fn read_unsafe(&self, offset: u64, dst: *mut u8, count: usize) { // If the read is only in the initial page, then read it directly in one go. // This is a performance enhancement to avoid the cost of creating a `NodeIterator`. @@ -365,7 +365,7 @@ fn compute_num_overflow_pages_needed(size: u64, page_size: u64) -> u64 { let overflow_page_capacity = page_size - PAGE_OVERFLOW_DATA_OFFSET.get(); // Ceiling division - (overflow_data_len + overflow_page_capacity - 1) / overflow_page_capacity + overflow_data_len.div_ceil(overflow_page_capacity) } else { 0 } diff --git a/src/btreemap/node/v1.rs b/src/btreemap/node/v1.rs index 2dc02857..cad16f30 100644 --- a/src/btreemap/node/v1.rs +++ b/src/btreemap/node/v1.rs @@ -59,7 +59,7 @@ impl Node { max_value_size: u32, memory: &M, ) -> Self { - #[cfg(feature = "canbench")] + #[cfg(feature = "canbench-rs")] let _p = canbench::profile("node_load_v1"); // Load the entries. @@ -113,7 +113,7 @@ impl Node { } pub(super) fn save_v1(&self, memory: &M) { - #[cfg(feature = "canbench")] + #[cfg(feature = "canbench-rs")] let _p = canbench::profile("node_save_v1"); match self.node_type { diff --git a/src/btreemap/node/v2.rs b/src/btreemap/node/v2.rs index f559d777..774506d0 100644 --- a/src/btreemap/node/v2.rs +++ b/src/btreemap/node/v2.rs @@ -111,7 +111,7 @@ impl Node { header: NodeHeader, memory: &M, ) -> Self { - #[cfg(feature = "canbench")] + #[cfg(feature = "canbench-rs")] let _p = canbench::profile("node_load_v2"); // Load the node, including any overflows, into a buffer. @@ -191,7 +191,7 @@ impl Node { // Saves the node to memory. pub(super) fn save_v2(&mut self, allocator: &mut Allocator) { - #[cfg(feature = "canbench")] + #[cfg(feature = "canbench-rs")] let _p = canbench::profile("node_save_v2"); let page_size = self.version.page_size().get(); diff --git a/src/memory_manager.rs b/src/memory_manager.rs index 10cd9028..07a2ecbf 100644 --- a/src/memory_manager.rs +++ b/src/memory_manager.rs @@ -5,8 +5,8 @@ //! //! 1. The developer needs to put in advance an upper bound on the memory of each stable structure. //! 2. It wastes the canister's memory allocation. For example, if a canister creates two stable -//! structures A and B, and gives each one of them a 1GiB region of memory, then writing to B will -//! require growing > 1GiB of memory just to be able to write to it. +//! structures A and B, and gives each one of them a 1GiB region of memory, then writing to B will +//! require growing > 1GiB of memory just to be able to write to it. //! //! The [`MemoryManager`] in this module solves both of these problems. It simulates having //! multiple memories, each being able to grow without bound. That way, a developer doesn't need to @@ -546,7 +546,7 @@ impl MemoryManagerInner { /// Returns the number of buckets needed to accommodate the given number of pages. fn num_buckets_needed(&self, num_pages: u64) -> u64 { // Ceiling division. - (num_pages + self.bucket_size_in_pages as u64 - 1) / self.bucket_size_in_pages as u64 + num_pages.div_ceil(self.bucket_size_in_pages as u64) } /// Returns the underlying memory. diff --git a/src/reader.rs b/src/reader.rs index d50ed90b..d6e9ff5e 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -52,7 +52,7 @@ impl<'a, M: Memory> Reader<'a, M> { } } -impl<'a, M: Memory> io::Read for Reader<'a, M> { +impl io::Read for Reader<'_, M> { fn read(&mut self, buf: &mut [u8]) -> Result { self.read(buf).or(Ok(0)) // Read defines EOF to be success } @@ -63,7 +63,7 @@ pub struct BufferedReader<'a, M> { inner: io::BufReader>, } -impl<'a, M: Memory> BufferedReader<'a, M> { +impl BufferedReader<'_, M> { /// Creates a new `BufferedReader` which reads from the selected memory pub fn new(buffer_size: usize, reader: Reader) -> BufferedReader { BufferedReader { @@ -72,7 +72,7 @@ impl<'a, M: Memory> BufferedReader<'a, M> { } } -impl<'a, M: Memory> io::Read for BufferedReader<'a, M> { +impl io::Read for BufferedReader<'_, M> { fn read(&mut self, buf: &mut [u8]) -> io::Result { self.inner.read(buf) } diff --git a/src/writer.rs b/src/writer.rs index 1e506411..508d5587 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -36,7 +36,7 @@ impl<'a, M: Memory> Writer<'a, M> { } } -impl<'a, M: Memory> io::Write for Writer<'a, M> { +impl io::Write for Writer<'_, M> { fn write(&mut self, buf: &[u8]) -> Result { self.write(buf) .map_err(|e| io::Error::new(io::ErrorKind::OutOfMemory, e))?; @@ -61,7 +61,7 @@ pub struct BufferedWriter<'a, M: Memory> { inner: io::BufWriter>, } -impl<'a, M: Memory> BufferedWriter<'a, M> { +impl BufferedWriter<'_, M> { /// Creates a new `BufferedStableWriter` which writes to the selected memory pub fn new(buffer_size: usize, writer: Writer) -> BufferedWriter { BufferedWriter { @@ -70,7 +70,7 @@ impl<'a, M: Memory> BufferedWriter<'a, M> { } } -impl<'a, M: Memory> io::Write for BufferedWriter<'a, M> { +impl io::Write for BufferedWriter<'_, M> { fn write(&mut self, buf: &[u8]) -> io::Result { self.inner.write(buf) } From 532a47cd175014946bf9fee5f70b0160e42ced20 Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 4 Mar 2025 15:20:08 +0100 Subject: [PATCH 4/5] Minor fixes --- src/btreemap/node/v1.rs | 4 ++-- src/btreemap/node/v2.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/btreemap/node/v1.rs b/src/btreemap/node/v1.rs index cad16f30..2dc02857 100644 --- a/src/btreemap/node/v1.rs +++ b/src/btreemap/node/v1.rs @@ -59,7 +59,7 @@ impl Node { max_value_size: u32, memory: &M, ) -> Self { - #[cfg(feature = "canbench-rs")] + #[cfg(feature = "canbench")] let _p = canbench::profile("node_load_v1"); // Load the entries. @@ -113,7 +113,7 @@ impl Node { } pub(super) fn save_v1(&self, memory: &M) { - #[cfg(feature = "canbench-rs")] + #[cfg(feature = "canbench")] let _p = canbench::profile("node_save_v1"); match self.node_type { diff --git a/src/btreemap/node/v2.rs b/src/btreemap/node/v2.rs index 774506d0..f559d777 100644 --- a/src/btreemap/node/v2.rs +++ b/src/btreemap/node/v2.rs @@ -111,7 +111,7 @@ impl Node { header: NodeHeader, memory: &M, ) -> Self { - #[cfg(feature = "canbench-rs")] + #[cfg(feature = "canbench")] let _p = canbench::profile("node_load_v2"); // Load the node, including any overflows, into a buffer. @@ -191,7 +191,7 @@ impl Node { // Saves the node to memory. pub(super) fn save_v2(&mut self, allocator: &mut Allocator) { - #[cfg(feature = "canbench-rs")] + #[cfg(feature = "canbench")] let _p = canbench::profile("node_save_v2"); let page_size = self.version.page_size().get(); From 11c5a08d292baffece2b722c004ea75e7fdd1806 Mon Sep 17 00:00:00 2001 From: Andriy Berestovskyy Date: Tue, 4 Mar 2025 15:33:02 +0100 Subject: [PATCH 5/5] Persist canbench results --- canbench_results.yml | 244 +++++++++++++++++++++---------------------- 1 file changed, 122 insertions(+), 122 deletions(-) diff --git a/canbench_results.yml b/canbench_results.yml index 15d588c4..23a5f07b 100644 --- a/canbench_results.yml +++ b/canbench_results.yml @@ -1,619 +1,619 @@ benches: btreemap_get_blob_128_1024: total: - instructions: 821164751 + instructions: 871309202 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_128_1024_v2: total: - instructions: 899572730 + instructions: 952323558 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_16_1024: total: - instructions: 294734986 + instructions: 246794283 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_16_1024_v2: total: - instructions: 367051847 + instructions: 322817530 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_256_1024: total: - instructions: 1322979308 + instructions: 1438305373 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_256_1024_v2: total: - instructions: 1404522187 + instructions: 1522441414 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_32_1024: total: - instructions: 322875451 + instructions: 280038069 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_32_1024_v2: total: - instructions: 398143719 + instructions: 357990649 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_4_1024: total: - instructions: 180836227 + instructions: 183602777 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_4_1024_v2: total: - instructions: 263107921 + instructions: 268129985 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_512_1024: total: - instructions: 2332560963 + instructions: 2573953601 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_512_1024_v2: total: - instructions: 2408812194 + instructions: 2652827669 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_512_1024_v2_mem_manager: total: - instructions: 2517895062 + instructions: 2758867134 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_64_1024: total: - instructions: 572513751 + instructions: 522384319 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_64_1024_v2: total: - instructions: 649842998 + instructions: 602402025 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_8_1024: total: - instructions: 213469247 + instructions: 217332289 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_8_1024_v2: total: - instructions: 293538637 + instructions: 299640561 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_8_u64: total: - instructions: 196964591 + instructions: 201109665 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_blob_8_u64_v2: total: - instructions: 291607086 + instructions: 297999015 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_u64_blob_8: total: - instructions: 176505041 + instructions: 175387736 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_u64_blob_8_v2: total: - instructions: 248724001 + instructions: 249704264 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_u64_u64: total: - instructions: 177299159 + instructions: 176095721 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_u64_u64_v2: total: - instructions: 255515892 + instructions: 256392975 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_get_u64_u64_v2_mem_manager: total: - instructions: 337472533 + instructions: 335916653 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_insert_10mib_values: total: - instructions: 5251584111 + instructions: 5239421355 heap_increase: 0 stable_memory_increase: 3613 scopes: {} btreemap_insert_blob_1024_128: total: - instructions: 4874494739 + instructions: 5110664101 heap_increase: 0 stable_memory_increase: 262 scopes: {} btreemap_insert_blob_1024_128_v2: total: - instructions: 4959074271 + instructions: 5201936582 heap_increase: 0 stable_memory_increase: 196 scopes: {} btreemap_insert_blob_1024_16: total: - instructions: 4862382006 + instructions: 5113272660 heap_increase: 0 stable_memory_increase: 241 scopes: {} btreemap_insert_blob_1024_16_v2: total: - instructions: 4942538207 + instructions: 5200160649 heap_increase: 0 stable_memory_increase: 181 scopes: {} btreemap_insert_blob_1024_256: total: - instructions: 4901020089 + instructions: 5132006019 heap_increase: 0 stable_memory_increase: 292 scopes: {} btreemap_insert_blob_1024_256_v2: total: - instructions: 4988086563 + instructions: 5225716019 heap_increase: 0 stable_memory_increase: 219 scopes: {} btreemap_insert_blob_1024_32: total: - instructions: 4868405696 + instructions: 5096510160 heap_increase: 0 stable_memory_increase: 239 scopes: {} btreemap_insert_blob_1024_32_v2: total: - instructions: 4959999125 + instructions: 5194736210 heap_increase: 0 stable_memory_increase: 180 scopes: {} btreemap_insert_blob_1024_4: total: - instructions: 4765838284 + instructions: 5019310618 heap_increase: 0 stable_memory_increase: 235 scopes: {} btreemap_insert_blob_1024_4_v2: total: - instructions: 4838086666 + instructions: 5098222305 heap_increase: 0 stable_memory_increase: 176 scopes: {} btreemap_insert_blob_1024_512: total: - instructions: 4977590477 + instructions: 5206323531 heap_increase: 0 stable_memory_increase: 348 scopes: {} btreemap_insert_blob_1024_512_v2: total: - instructions: 5070548871 + instructions: 5305867254 heap_increase: 0 stable_memory_increase: 261 scopes: {} btreemap_insert_blob_1024_512_v2_mem_manager: total: - instructions: 5243334303 + instructions: 5474908000 heap_increase: 0 stable_memory_increase: 256 scopes: {} btreemap_insert_blob_1024_64: total: - instructions: 4886432439 + instructions: 5150175789 heap_increase: 0 stable_memory_increase: 250 scopes: {} btreemap_insert_blob_1024_64_v2: total: - instructions: 4978695171 + instructions: 5249105297 heap_increase: 0 stable_memory_increase: 188 scopes: {} btreemap_insert_blob_1024_8: total: - instructions: 4832037423 + instructions: 5085348900 heap_increase: 0 stable_memory_increase: 237 scopes: {} btreemap_insert_blob_1024_8_v2: total: - instructions: 4927667257 + instructions: 5187558037 heap_increase: 0 stable_memory_increase: 178 scopes: {} btreemap_insert_blob_128_1024: total: - instructions: 1256217082 + instructions: 1273227463 heap_increase: 0 stable_memory_increase: 260 scopes: {} btreemap_insert_blob_128_1024_v2: total: - instructions: 1349854651 + instructions: 1373313309 heap_increase: 0 stable_memory_increase: 195 scopes: {} btreemap_insert_blob_16_1024: total: - instructions: 684006245 + instructions: 637805470 heap_increase: 0 stable_memory_increase: 215 scopes: {} btreemap_insert_blob_16_1024_v2: total: - instructions: 771239794 + instructions: 732455990 heap_increase: 0 stable_memory_increase: 161 scopes: {} btreemap_insert_blob_256_1024: total: - instructions: 1810371170 + instructions: 1859840193 heap_increase: 0 stable_memory_increase: 292 scopes: {} btreemap_insert_blob_256_1024_v2: total: - instructions: 1901845076 + instructions: 1957855803 heap_increase: 0 stable_memory_increase: 219 scopes: {} btreemap_insert_blob_32_1024: total: - instructions: 716950053 + instructions: 672870979 heap_increase: 0 stable_memory_increase: 230 scopes: {} btreemap_insert_blob_32_1024_v2: total: - instructions: 807739520 + instructions: 770164792 heap_increase: 0 stable_memory_increase: 173 scopes: {} btreemap_insert_blob_4_1024: total: - instructions: 487134157 + instructions: 497280451 heap_increase: 0 stable_memory_increase: 123 scopes: {} btreemap_insert_blob_4_1024_v2: total: - instructions: 578283351 + instructions: 593852839 heap_increase: 0 stable_memory_increase: 92 scopes: {} btreemap_insert_blob_512_1024: total: - instructions: 2899518849 + instructions: 3010795691 heap_increase: 0 stable_memory_increase: 351 scopes: {} btreemap_insert_blob_512_1024_v2: total: - instructions: 2986837857 + instructions: 3104696455 heap_increase: 0 stable_memory_increase: 263 scopes: {} btreemap_insert_blob_64_1024: total: - instructions: 985591565 + instructions: 919935850 heap_increase: 0 stable_memory_increase: 245 scopes: {} btreemap_insert_blob_64_1024_v2: total: - instructions: 1075012481 + instructions: 1015903332 heap_increase: 0 stable_memory_increase: 183 scopes: {} btreemap_insert_blob_8_1024: total: - instructions: 599368708 + instructions: 607806777 heap_increase: 0 stable_memory_increase: 183 scopes: {} btreemap_insert_blob_8_1024_v2: total: - instructions: 695183343 + instructions: 709530767 heap_increase: 0 stable_memory_increase: 138 scopes: {} btreemap_insert_blob_8_u64: total: - instructions: 324578222 + instructions: 330300136 heap_increase: 0 stable_memory_increase: 6 scopes: {} btreemap_insert_blob_8_u64_v2: total: - instructions: 429531652 + instructions: 441129700 heap_increase: 0 stable_memory_increase: 4 scopes: {} btreemap_insert_u64_blob_8: total: - instructions: 336804898 + instructions: 339919034 heap_increase: 0 stable_memory_increase: 7 scopes: {} btreemap_insert_u64_blob_8_v2: total: - instructions: 412639294 + instructions: 420318618 heap_increase: 0 stable_memory_increase: 5 scopes: {} btreemap_insert_u64_u64: total: - instructions: 342612651 + instructions: 345460000 heap_increase: 0 stable_memory_increase: 7 scopes: {} btreemap_insert_u64_u64_mem_manager: total: - instructions: 553691634 + instructions: 558130823 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_insert_u64_u64_v2: total: - instructions: 421501977 + instructions: 428895247 heap_increase: 0 stable_memory_increase: 6 scopes: {} btreemap_iter_10mib_values: total: - instructions: 11388115 + instructions: 11407378 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_iter_count_10mib_values: total: - instructions: 475842 + instructions: 477294 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_iter_count_small_values: total: - instructions: 9366511 + instructions: 9442536 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_iter_rev_10mib_values: total: - instructions: 11384334 + instructions: 11404381 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_iter_rev_small_values: total: - instructions: 13488059 + instructions: 14975521 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_iter_small_values: total: - instructions: 13530306 + instructions: 14978614 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_keys_10mib_values: total: - instructions: 465911 + instructions: 464952 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_keys_rev_10mib_values: total: - instructions: 465785 + instructions: 464595 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_keys_rev_small_values: total: - instructions: 9653184 + instructions: 9673706 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_keys_small_values: total: - instructions: 9502729 + instructions: 9526093 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_read_every_third_value_from_range: total: - instructions: 82888492 + instructions: 84178476 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_read_keys_from_range: total: - instructions: 82928496 + instructions: 84218480 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_128_1024: total: - instructions: 1512426959 + instructions: 1574675940 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_128_1024_v2: total: - instructions: 1645452736 + instructions: 1717684218 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_16_1024: total: - instructions: 793420985 + instructions: 758136944 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_16_1024_v2: total: - instructions: 921046568 + instructions: 895985762 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_256_1024: total: - instructions: 2154402558 + instructions: 2279163553 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_256_1024_v2: total: - instructions: 2283290877 + instructions: 2417905594 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_32_1024: total: - instructions: 854236433 + instructions: 827599093 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_32_1024_v2: total: - instructions: 983717786 + instructions: 966757633 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_4_1024: total: - instructions: 473562767 + instructions: 486469240 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_4_1024_v2: total: - instructions: 580939349 + instructions: 600093407 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_512_1024: total: - instructions: 3500550094 + instructions: 3748993388 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_512_1024_v2: total: - instructions: 3619523794 + instructions: 3878241779 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_64_1024: total: - instructions: 1182168822 + instructions: 1141008090 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_64_1024_v2: total: - instructions: 1312122954 + instructions: 1280920638 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_8_1024: total: - instructions: 624824260 + instructions: 644735138 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_8_1024_v2: total: - instructions: 748810395 + instructions: 776768069 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_8_u64: total: - instructions: 425371740 + instructions: 435032682 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_blob_8_u64_v2: total: - instructions: 566112931 + instructions: 584053097 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_u64_blob_8: total: - instructions: 478200485 + instructions: 485748982 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_u64_blob_8_v2: total: - instructions: 586697712 + instructions: 601012747 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_u64_u64: total: - instructions: 491394624 + instructions: 498934285 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_remove_u64_u64_v2: total: - instructions: 609128227 + instructions: 623495817 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_values_10mib_values: total: - instructions: 11410760 + instructions: 11406858 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_values_rev_10mib_values: total: - instructions: 11407601 + instructions: 11403861 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_values_rev_small_values: total: - instructions: 14651691 + instructions: 14949517 heap_increase: 0 stable_memory_increase: 0 scopes: {} btreemap_values_small_values: total: - instructions: 14661596 + instructions: 14952610 heap_increase: 0 stable_memory_increase: 0 scopes: {} @@ -625,110 +625,110 @@ benches: scopes: {} memory_manager_grow: total: - instructions: 346632000 + instructions: 346600495 heap_increase: 2 stable_memory_increase: 32000 scopes: {} memory_manager_overhead: total: - instructions: 1181967369 + instructions: 1181961433 heap_increase: 0 stable_memory_increase: 8320 scopes: {} vec_get_blob_128: total: - instructions: 17957623 + instructions: 19306242 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_16: total: - instructions: 8050972 + instructions: 6402226 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_32: total: - instructions: 8644561 + instructions: 7121657 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_4: total: - instructions: 4868523 + instructions: 4849627 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_4_mem_manager: total: - instructions: 7238723 + instructions: 7216977 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_64: total: - instructions: 12960294 + instructions: 11370056 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_64_mem_manager: total: - instructions: 15339702 + instructions: 13710204 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_blob_8: total: - instructions: 5671629 + instructions: 5673873 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_get_u64: total: - instructions: 5420319 + instructions: 5330306 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_insert_blob_128: total: - instructions: 4211456 + instructions: 4151425 heap_increase: 0 stable_memory_increase: 19 scopes: {} vec_insert_blob_16: total: - instructions: 3376242 + instructions: 3316228 heap_increase: 0 stable_memory_increase: 2 scopes: {} vec_insert_blob_32: total: - instructions: 3495485 + instructions: 3435468 heap_increase: 0 stable_memory_increase: 5 scopes: {} vec_insert_blob_4: total: - instructions: 3287481 + instructions: 3227469 heap_increase: 0 stable_memory_increase: 0 scopes: {} vec_insert_blob_64: total: - instructions: 3735826 + instructions: 3675805 heap_increase: 0 stable_memory_increase: 9 scopes: {} vec_insert_blob_8: total: - instructions: 3316903 + instructions: 3256890 heap_increase: 0 stable_memory_increase: 1 scopes: {} vec_insert_u64: total: - instructions: 5929446 + instructions: 5929433 heap_increase: 0 stable_memory_increase: 1 scopes: {} -version: 0.1.7 +version: 0.1.9