Skip to main content

Module benchmark

Module benchmark 

Source
Expand description

Deterministic aggregation for benchmark receipts.

Hosts own clocks and sample capture. Keeping aggregation here gives native, browser, and future edge adapters one definition of the receipt statistics without giving the portable kernel clock authority.

Structs§

BenchmarkProvenance
BenchmarkStatistics
Aggregate wall-time statistics used by portable benchmark receipts.
CompileMeasurements
DispatchMeasurements
PortableBenchmarkReceipt
Closed, shared receipt emitted by native and browser benchmark adapters. Hosts own clocks and sample capture; the kernel owns field names, aggregation, provenance, bounds, and serialization.

Enums§

BenchmarkBuildProfile
BenchmarkEntryKind
BenchmarkStatisticsError
Deterministic reason benchmark samples could not be aggregated.
BenchmarkTarget

Constants§

PORTABLE_BENCHMARK_SCHEMA_VERSION
PORTABLE_MAX_COMPILE_ITERATIONS
PORTABLE_MAX_DISPATCH_ITERATIONS
PORTABLE_MAX_WORKERS

Functions§

benchmark_terminal_digest
Digest the canonical tagged-JSON representation used in benchmark receipts.
portable_benchmark_json_schema
Generate the public JSON Schema for super::PortableBenchmarkReceipt.