Skip to content

Commit 25c61cd

Browse files
committed
test(runner-shared): search artifacts of up to 100M events in the module event bench
With frames decoded in parallel, CI-sized artifacts are fast enough to benchmark again: add the 10M and 100M event sizes the streamed decoder was too slow for. The 100M artifact with stacks is about 5 GB on disk and is mapped, not held in memory.
1 parent 642f57e commit 25c61cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎crates/runner-shared/benches/memtrack_reader.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ fn main() {
1919
divan::main();
2020
}
2121

22-
/// Artifact sizes in events. CI-sized artifacts take minutes per case with the
23-
/// streamed decoder under the simulation instrument.
24-
const SIZES: &[usize] = &[1_000_000];
22+
/// Artifact sizes in events, up to a CI-sized artifact with enough frames to
23+
/// show how the parallel frame scan scales.
24+
const SIZES: &[usize] = &[1_000_000, 10_000_000, 100_000_000];
2525

2626
/// Under the simulation and memory instruments, generating and searching
2727
/// larger artifacts outlasts the CI job, so these modes only search the

0 commit comments

Comments
 (0)