From 7f66c9b1abd68b2129c8f854c585199bac764547 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Wed, 5 Apr 2023 20:36:21 +0200 Subject: [PATCH] and other annoyances --- crates/re_arrow_store/benches/arrow2.rs | 4 ++-- crates/re_arrow_store/benches/arrow2_convert.rs | 2 +- crates/re_arrow_store/benches/vectors.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/re_arrow_store/benches/arrow2.rs b/crates/re_arrow_store/benches/arrow2.rs index 24f84219b6b23..af02ac5289a67 100644 --- a/crates/re_arrow_store/benches/arrow2.rs +++ b/crates/re_arrow_store/benches/arrow2.rs @@ -9,7 +9,7 @@ use arrow2::{ array::{Array, PrimitiveArray, StructArray, UnionArray}, compute::aggregate::estimated_bytes_size, }; -use criterion::{criterion_group, criterion_main, Criterion}; +use criterion::{criterion_group, Criterion}; use itertools::Itertools; use re_log_types::{ component_types::{InstanceKey, Point2D, Rect2D}, @@ -23,7 +23,7 @@ use re_log_types::{ criterion_group!(benches, erased_clone, estimated_size_bytes); #[cfg(not(feature = "dont_bench_third_party"))] -criterion_main!(benches); +criterion::criterion_main!(benches); // Don't run these benchmarks on CI: they measure the performance of third-party libraries. #[cfg(feature = "dont_bench_third_party")] diff --git a/crates/re_arrow_store/benches/arrow2_convert.rs b/crates/re_arrow_store/benches/arrow2_convert.rs index 2d615c000da9d..ea2a9ced672b9 100644 --- a/crates/re_arrow_store/benches/arrow2_convert.rs +++ b/crates/re_arrow_store/benches/arrow2_convert.rs @@ -15,7 +15,7 @@ use re_log_types::{ criterion_group!(benches, serialize, deserialize); #[cfg(not(feature = "dont_bench_third_party"))] -criterion_main!(benches); +criterion::criterion_main!(benches); // Don't run these benchmarks on CI: they measure the performance of third-party libraries. #[cfg(feature = "dont_bench_third_party")] diff --git a/crates/re_arrow_store/benches/vectors.rs b/crates/re_arrow_store/benches/vectors.rs index 82077c6c34618..f3c5e92ca2b71 100644 --- a/crates/re_arrow_store/benches/vectors.rs +++ b/crates/re_arrow_store/benches/vectors.rs @@ -13,7 +13,7 @@ use tinyvec::TinyVec; criterion_group!(benches, sort, split, swap, swap_opt); #[cfg(not(feature = "dont_bench_third_party"))] -criterion_main!(benches); +criterion::criterion_main!(benches); // Don't run these benchmarks on CI: they measure the performance of third-party libraries. #[cfg(feature = "dont_bench_third_party")]