Expand description
euv-performance
Reproducible CPU, reactive propagation, retained layout cache, cold-start TTFF, steady-state allocation, and multi-mode rendering benchmark suite for the cross-platform euv runtime.
Structs§
- Allocation
Scope Guard - RAII scope guard enabling
CountingAllocatortracking for the lifetime of a benchmark loop. - Allocation
Snapshot - Exact heap allocation delta recorded across a measured steady-state frame or workload scope.
- Bench
Metric - Timing, throughput, and steady-state allocation telemetry for a single micro- or macro-benchmark.
- Bench
Report - Complete serialized report produced by
run_full_benchmark_suite. - Cold
Start Ttff Report - Aggregated multi-run cold-start TTFF benchmark report with per-stage medians and tail totals.
- Cold
Start Ttff Stages - Per-stage cold-start Time-To-First-Frame (TTFF) latency breakdown in milliseconds.
- Counting
Allocator - Zero-sized global allocator delegating directly to
Systemwith a single-load disabled fast path. - Latency
Distribution - Per-iteration latency percentile distribution, frame-budget misses, allocation counters, and layout/damage telemetry.
- Native
Heap Lifecycle Probe - Multi-cycle native heap lifecycle probe capturing baseline, post-drain live bytes, and per-cycle slope.
- Observability
Build - Build identity metadata inside
ObservabilityReportV1. - Observability
Coverage - Explicit scope coverage record inside
ObservabilityReportV1::coverage. - Observability
Evidence - Artifact evidence entry referenced by metrics and findings.
- Observability
Finding - Attributed leak or budget violation finding inside
ObservabilityReportV1::findings. - Observability
Metric - Single unified metric entry conforming to
schemas/report-v1.schema.jsonandmetrics/catalog-v1.json. - Observability
Report V1 - Complete schema-v1 cross-platform performance and leak observability report.
- Observability
Target - Target host and rendering backend description inside
ObservabilityReportV1. - Observability
Threshold - Budget threshold definition attached to an
ObservabilityMetric. - Observability
Tool - Profiler or harness tool entry recorded inside
ObservabilityReportV1::tools. - Observability
Workload - Executed workload fixture metadata inside
ObservabilityReportV1. - Partial
Damage AbSummary - Interleaved A/B comparison validating P1 surgical partial-layout damage against full redraw.
- RawAlloc
Counters - Snapshot of raw monotonic allocation counters captured at a scope boundary.
- Stress
Matrix Entry - Single scenario entry recorded inside a
StressMatrixReport. - Stress
Matrix Report - Complete serialized report produced by
run_stress_matrix/run_filtered_stress_matrix.
Enums§
- Observability
Coverage Status - Per-scope measurement coverage classification.
- Observability
Execution Kind - Execution environment honesty tag for an observability report.
- Observability
Finding Class - Forensic classification for an entry in
findings. - Observability
Metric Status - Per-metric measurement availability classification.
- Observability
Platform - Supported target platforms enumerated in
schemas/report-v1.schema.json. - Observability
Statistic - Canonical summary statistic tag for an observability metric sample.
- Observability
Status - Four-state observability report verdict (
pass,fail,inconclusive,unsupported). - Observability
Threshold Rule - Threshold evaluation rule attached to a metric.
- Observability
Unit - Canonical metric units allowed by
schemas/report-v1.schema.json.
Constants§
- BENCH_
FLAG_ FILTER - CLI flag to filter benchmarks by substring match.
- BENCH_
FLAG_ JSON - CLI flag to emit JSON benchmark report output.
- BENCH_
FLAG_ OBSERVABILITY_ JSON - CLI flag to emit a schema-valid Observability Report v1 JSON document.
- BENCH_
FLAG_ STRESS_ MATRIX - CLI flag to execute the §03/§08 stress-test verification matrix.
- BENCH_
FLAG_ TTFF - CLI flag to execute the standalone cold-start TTFF stage benchmark.
- BUDGET_
144HZ_ MS - Reference target frame interval in milliseconds for 144Hz presentation (
1_000 / 144 ~= 6.94 ms). - BUDGET_
240HZ_ US - Frame-interval budget for sustained 240Hz presentation in microseconds (
1_000_000 / 240). - BUDGET_
360HZ_ US - Frame-interval budget for sustained 360Hz presentation in microseconds (
1_000_000 / 360). - BUDGET_
480HZ_ US - Frame-interval budget for sustained 480Hz presentation in microseconds (
1_000_000 / 480). - OBSERVABILITY_
BUDGET_ VERSION_ V1 - Default budget version tag attached to emitted metric thresholds.
- OBSERVABILITY_
DEFAULT_ COMMIT - Default commit label when invoked outside a CI commit tag environment.
- OBSERVABILITY_
DEFAULT_ PROFILE - Default Cargo profile label for emitted observability reports.
- OBSERVABILITY_
SCHEMA_ VERSION_ V1 - Single authoritative Observability Report schema version string (
"1.0"). - OBSERVABILITY_
TARGET_ 144HZ_ MS - Reference target frame interval in milliseconds for 144 Hz (
1000.0 / 144.0 ~= 6.94 ms).
Functions§
- allocation_
tracking_ active - Returns
truewhen theallocation-trackingglobal allocator feature is compiled in. - bench_
app_ smooth_ scroll_ fractional - Benchmarks fractional
+3.7pxwheel scrolling and active pointer hover moves at 240Hz across a 1,000-row scroll viewport. - bench_
cold_ start_ ttff - Benchmarks cold-start TTFF stages (
t0boot through first present) as a standardBenchMetric. - bench_
font_ text_ wrap_ measure_ cache - Benchmarks
DeterministicTextMeasurer::measureandmeasure_sizeon mixed ASCII/CJK paragraphs alongside hotGlyphAtlashits. - bench_
game3d_ cinematic_ max_ rt - Benchmarks maxed-out
Cinematic+FullPathTracedGi+125%scale animated 3D ray tracing after warmup. - bench_
game3d_ pbr_ bvh_ raytrace - Benchmarks the AAA 3D open-world PBR + BVH ray-traced shadows and reflections pipeline with warmup and live camera animation.
- bench_
game_ ecs_ physics - Benchmarks 256 dynamic 2D rigid bodies stepping through spatial-hash broad-phase and narrow-phase collision resolution.
- bench_
game_ particles - Benchmarks updating 1,024 continuously replenished zero-allocation pooled particles per frame.
- bench_
hardware_ active_ batching - Benchmarks active per-frame dirty mutation through
PaintPass::buildandHardwareRenderer::renderon every iteration. - bench_
hardware_ gpu_ batching - Benchmarks hardware GPU instanced draw-batch compilation frames.
- bench_
layout_ cache - Benchmarks retained layout engine clean-subtree caching across a 120-node UI tree.
- bench_
reactive_ signals_ and_ memos - Benchmarks fine-grained
Signalupdates propagating through a diamondMemograph. - bench_
selector_ o1 - Benchmarks O(1)
Selector<usize>active-index switching across 1,000 tracked rows. - bench_
software_ full_ redraw - Benchmarks full forced-redraw 800x600 software SDF tile rasterization frames.
- bench_
software_ portal_ overlay_ anim - Benchmarks 720x1280@2x software
EuvDrawerportal slide-in and slide-out animation over 8 shadowed cards. - bench_
software_ primitives_ image_ vec - Benchmarks forced 800x600 software redraw of linear gradients, 1:1 & scaled rounded images, sprite regions, circles, thick AA lines, and filled triangles.
- bench_
software_ rasterizer - Benchmarks full 800x600 software SDF tile rasterization frames.
- bench_
software_ rounded_ clip_ cards - Benchmarks forced 800x600 software redraw of 12
Overflow::Hiddenrounded cards with borders, shadows, badges, progress bars, and wrapped text. - bench_
stress_ bulk_ reactive_ 1000 - Stress-benchmarks bulk batched updates across 1,000 live reactive UI components with subscribed signals and memos.
- bench_
stress_ complex_ layout_ 2000 - Stress-benchmarks a deeply nested 2,000-node Flex/Grid layout tree under repeated full and dirty-subtree layout passes.
- bench_
stress_ hidpi_ 4x_ 1440x3168 - Stress-benchmarks flagship mobile
1440x3168 @ 4.0xmulti-card shadowed UI scrolling in the multi-core software rasterizer. - bench_
stress_ long_ list_ 100k - Stress-benchmarks continuous scrolling of a 100,000-row
EuvVirtualListthrough full layout and software rasterization. - bench_
stress_ scroll_ physics_ and_ hittest - Stress-benchmarks 240Hz touch-pan scroll physics, thumb-lift anti-reversal filtering, and 1,000-node scene hit-testing.
- bench_
stress_ wasm_ dynamic_ hotswap - Stress-benchmarks end-to-end dynamic
.wasmbinary verification, sandbox execution, hot-swap, and rollback cycles. - bench_
ui_ datatable_ filter_ select - Benchmarks filter query updates, sort-order toggles, and single-row selection changes on a 120-row by 5-column
EuvDataTable. - bench_
ui_ markdown_ codeblock_ mount - Benchmarks parsing, mounting, and disposing a full GFM
EuvMarkdowndocument containing a 6x4 table, task list, alert, and 60-line RustEuvCodeBlock. - bench_
ui_ router_ freeze_ switch - Benchmarks cycling across 8
PageRetention::Freezeroutes inEuvRouter+EuvRouterOutletpaired withEuvSidebarNavandEuvTabs. - bench_
ui_ view_ macro_ mount_ 500_ nodes - Benchmarks mounting and disposing a ~500-node declarative
view!tree combiningstyle!withEuvCard,EuvButton,EuvBadge,EuvProgress,EuvTag, andEuvStatCard. - bench_
unicode_ glyph_ atlas - Benchmarks Unicode + CJK glyph rasterization and GPU RGBA8 atlas shelf-packing.
- cold_
start_ ttff_ to_ json - Serializes a
ColdStartTtffReportto pretty-printed JSON. - emit_
adaptive_ observability_ report - Emits a schema-v1
ObservabilityReportV1directly fromAdaptiveFrameMetricspreservingUnobservable -> nullandadaptive_router. - emit_
stress_ observability_ report - Converts a
StressMatrixReportinto a schema-v1ObservabilityReportV1matchingschemas/report-v1.schema.json. - format_
bench_ report - Formats a
BenchReportinto an aligned terminal summary table. - format_
cold_ start_ ttff_ report - Formats a
ColdStartTtffReportinto an aligned human-readable terminal breakdown. - format_
stress_ matrix_ report - Formats a
StressMatrixReportinto a human-readable terminal table showing tail percentiles (p99.9), 240/360/480Hz budgets, allocations, TTFF, and A/B parity. - measure_
allocations - Executes
operationinside an activeCountingAllocatorscope and returns both its output and exact heap delta. - measure_
single_ cold_ start_ ttff - Executes one complete cold-start boot sequence from
t0through verified first frame presentation. - observability_
report_ to_ json - Serializes an
ObservabilityReportV1into formatted JSON conforming toschemas/report-v1.schema.json. - probe_
native_ heap_ lifecycle - Runs a deterministic warmup + multi-cycle mount/layout/dispose probe under
CountingAllocatorto measure real native heap retention. - report_
to_ json - Serializes a
BenchReportto formatted JSON. - run_
cold_ start_ ttff_ report - Runs
iterationsindependent cold-start TTFF measurements and summarizes per-stage medians and tail totals. - run_
filtered_ benchmark_ suite - Runs the benchmark suite optionally restricted to metrics whose canonical name contains
filter. - run_
filtered_ stress_ matrix - Runs §03/§08 stress-test verification matrix scenarios whose canonical names contain
filter(or all scenarios whenNone). - run_
full_ benchmark_ suite - Runs the complete reproducible benchmark and stress-test suite across reactivity, layout, virtual lists, WASM OTA, high-DPI rendering, input, UI, and game physics.
- run_
stress_ matrix - Runs all §03/§08 stress-test verification matrix scenarios with default production iteration counts.
- snapshot_
raw_ alloc_ counters - Captures a lock-free point-in-time snapshot of all
CountingAllocatoratomic counters. - stress_
cold_ start_ ttff - Runs the stage-attributed cold-start TTFF benchmark as a stress-matrix entry and structured stage report.
- stress_
game2d_ 240hz_ stability - Stress-tests 2D physics arena game scene at 240Hz+ interpolated cadence decoupled from 60Hz fixed simulation.
- stress_
game2d_ 480hz_ pacing - Stress-tests sustained animated 2D game physics + HUD +
FramePacingControllerat 480Hz cadence. - stress_
game3d_ 240hz_ stability - Stress-tests 3D PBR + BVH ray-traced open-world scene at 240Hz interpolated cadence on the full-fidelity CPU reference path with bit-exact parity check.
- stress_
game3d_ 240hz_ stability_ gpu - Stress-tests 3D game GPU direct-draw and
GpuCompositeTargetHUD-overlay path at 240Hz/360Hz/480Hz with zero CPU RGBA upload bytes. - stress_
game3d_ 480hz_ city_ hud_ pacing - Stress-tests sustained animated 3D open-world city + HUD overlay + pooled blit +
FramePacingControllerat 480Hz cadence. - stress_
idle_ anim_ 480hz_ stability - Stress-tests steady-state idle/overlay UI animation at 480Hz cadence measuring tail latency and heap allocations per frame.
- stress_
matrix_ to_ json - Serializes a
StressMatrixReportto pretty-printed JSON. - stress_
partial_ single_ row_ update_ ab - Runs interleaved A/B single-row leaf updates comparing
partial_layout_damage = falsevstruewith bit-exact RGBA parity verification. - stress_
pointer_ move_ 480hz_ stability - Stress-tests continuous 480Hz pointer movement and hit-testing across an interactive multi-card scene.
- stress_
scroll_ 240hz_ stability - Stress-tests continuous 240Hz/360Hz/480Hz smooth scrolling over a rich multi-card showcase page with zero relayout.
- stress_
terminal_ tui_ diff - Stress-tests §06
TerminalRendererfull-sync, 1-cell incremental ANSI diff bytes, and 0-byte idle flush throughput. - stress_
virtual_ list_ scroll_ tail - Stress-tests 100,000-row
EuvVirtualListhigh-frequency scrolling and records tail latency and allocation distributions. - stress_
window_ resize_ reflow - Stress-tests continuous window resize reflow bursts across mobile, tablet, and desktop viewports while asserting zero stale bounds.
- validate_
observability_ report - Performs in-process structural and semantic validation mirroring
.agents/skills/euv-performance/scripts/validate_report.py.