-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Round memory test to nearest megabyte
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
crates/store/re_chunk_store/tests/snapshots/memory_test__scalars_on_one_timeline_new.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
source: crates/store/re_chunk_store/tests/memory_test.rs | ||
assertion_line: 133 | ||
expression: "[format!(\"{NUM_SCALARS} scalars\"),\nformat!(\"{} in total\", re_format::format_bytes(total_mem_use_global as _)),\nformat!(\"{} per row\",\nre_format::format_bytes(total_mem_use_global as f64 / NUM_SCALARS as f64)),]" | ||
expression: "[format!(\"{NUM_SCALARS} scalars\"),\nformat!(\"{} MiB in total\",\n(total_mem_use_global as f64 / 1024.0 / 1024.0).round()),\nformat!(\"{} per row\",\nre_format::format_bytes(total_mem_use_global as f64 / NUM_SCALARS as f64)),]" | ||
snapshot_kind: text | ||
--- | ||
[ | ||
"1048576 scalars", | ||
"37.0 MiB in total", | ||
"37 MiB in total", | ||
"37 B per row", | ||
] |