From 99be20cedda7d7a1c79c1bb4914b098a062910c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:36:04 +0800 Subject: [PATCH] Update binggan requirement from 0.10.0 to 0.12.0 (#2519) * Update binggan requirement from 0.10.0 to 0.12.0 --- updated-dependencies: - dependency-name: binggan dependency-type: direct:production ... Signed-off-by: dependabot[bot] * fix build --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Seitz --- Cargo.toml | 2 +- benches/agg_bench.rs | 4 +++- columnar/Cargo.toml | 2 +- common/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e0e080466..96fdd8a52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ fnv = "1.0.7" winapi = "0.3.9" [dev-dependencies] -binggan = "0.10.0" +binggan = "0.12.0" rand = "0.8.5" maplit = "1.0.2" matches = "0.1.9" diff --git a/benches/agg_bench.rs b/benches/agg_bench.rs index 1a2322cd1..2690ea7ab 100644 --- a/benches/agg_bench.rs +++ b/benches/agg_bench.rs @@ -1,3 +1,4 @@ +use binggan::plugins::PeakMemAllocPlugin; use binggan::{black_box, InputGroup, PeakMemAlloc, INSTRUMENTED_SYSTEM}; use rand::prelude::SliceRandom; use rand::rngs::StdRng; @@ -45,7 +46,8 @@ fn main() { } fn bench_agg(mut group: InputGroup) { - group.set_alloc(GLOBAL); // Set the peak mem allocator. This will enable peak memory reporting. + group.add_plugin(PeakMemAllocPlugin::new(GLOBAL)); + register!(group, average_u64); register!(group, average_f64); register!(group, average_f64_u64); diff --git a/columnar/Cargo.toml b/columnar/Cargo.toml index 4bf322ffd..99693eba5 100644 --- a/columnar/Cargo.toml +++ b/columnar/Cargo.toml @@ -23,7 +23,7 @@ downcast-rs = "1.2.0" proptest = "1" more-asserts = "0.3.1" rand = "0.8" -binggan = "0.10.0" +binggan = "0.12.0" [[bench]] name = "bench_merge" diff --git a/common/Cargo.toml b/common/Cargo.toml index 9d6dd69e6..e6cf5b1a5 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -19,7 +19,7 @@ time = { version = "0.3.10", features = ["serde-well-known"] } serde = { version = "1.0.136", features = ["derive"] } [dev-dependencies] -binggan = "0.10.0" +binggan = "0.12.0" proptest = "1.0.0" rand = "0.8.4"