Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Mar 21, 2024
1 parent 5203ab5 commit 36f58cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/re_data_store/benches/arrow2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ fn erased_clone(c: &mut Criterion) {
.map(|array| array.total_size_bytes())
.sum::<u64>();
let expected_total_size_bytes = data.total_size_bytes();
// NOTE: `+ 1` because the computation is off by one bytes, which is irrelevant for the
// purposes of this benchmark.
assert!(
total_size_bytes + 1 >= expected_total_size_bytes,
"Size for {} calculated to be {} bytes, but should be at least {} bytes",
Expand Down

0 comments on commit 36f58cd

Please sign in to comment.