Skip to content

Commit

Permalink
and other annoyances
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 5, 2023
1 parent 47cab6c commit bff95b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crates/re_arrow_store/benches/arrow2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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")]
Expand Down
4 changes: 2 additions & 2 deletions crates/re_arrow_store/benches/arrow2_convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

use arrow2::{array::PrimitiveArray, datatypes::PhysicalType, types::PrimitiveType};
use criterion::{criterion_group, criterion_main, Criterion};
use criterion::{criterion_group, Criterion};
use re_log_types::{
component_types::InstanceKey, external::arrow2_convert::deserialize::TryIntoCollection,
Component as _, DataCell,
Expand All @@ -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")]
Expand Down
4 changes: 2 additions & 2 deletions crates/re_arrow_store/benches/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

use criterion::{criterion_group, criterion_main, Criterion};
use criterion::{criterion_group, Criterion};

use smallvec::SmallVec;
use tinyvec::TinyVec;
Expand All @@ -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")]
Expand Down

0 comments on commit bff95b8

Please sign in to comment.