Skip to main content

ic_testkit/benchmark/
mod.rs

1//! Compact benchmark markers on every target; parsing and analysis on native hosts.
2
3mod marker;
4pub use marker::{
5    BenchmarkCounters, BenchmarkEventKind, BenchmarkMarkerError, DEFAULT_PREFIX, format_marker,
6};
7
8#[cfg(not(target_arch = "wasm32"))]
9mod analysis;
10#[cfg(not(target_arch = "wasm32"))]
11pub use analysis::{
12    BenchmarkAggregateError, BenchmarkAggregateRow, BenchmarkAverageError, BenchmarkAverages,
13    BenchmarkComparisonError, BenchmarkComparisonRow, BenchmarkCounter, BenchmarkEventSource,
14    BenchmarkMeasurement, BenchmarkParseReport, BenchmarkParserConfig, BenchmarkScope,
15    BenchmarkSpan, BenchmarkSpanReport, InvalidBenchmarkSpan, MalformedBenchmarkMarker,
16    RawBenchmarkEvent, SuiteDerivation, aggregate_benchmark_spans, compare_benchmark_aggregates,
17    pair_benchmark_spans, parse_benchmark_events, parse_benchmark_events_from_captured_output,
18    parse_benchmark_events_from_source,
19};