Expand description
euv-performance
Reproducible CPU, reactive propagation, retained layout cache, and multi-mode rendering benchmark suite for the cross-platform euv runtime.
Structs§
- Bench
Metric - Timing and throughput telemetry for a single micro- or macro-benchmark.
- Bench
Report - Complete serialized report produced by
run_full_benchmark_suite. - Latency
Distribution - Per-iteration latency percentile distribution, frame-budget misses, and damage telemetry.
- 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.
- 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.
- 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").
Functions§
- 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_
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 3D ray tracing at HD resolution. - bench_
game3d_ pbr_ bvh_ raytrace - Benchmarks the AAA 3D open-world PBR + BVH ray-traced shadows and reflections pipeline.
- 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 active 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.
- 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_
stress_ matrix_ report - Formats a
StressMatrixReportinto a human-readable terminal table showing tail percentiles and A/B parity. - observability_
report_ to_ json - Serializes an
ObservabilityReportV1into formatted JSON conforming toschemas/report-v1.schema.json. - report_
to_ json - Serializes a
BenchReportto formatted JSON. - 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 4 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 4 §03/§08 stress-test verification matrix scenarios with default production iteration counts.
- 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_
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 distribution. - 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.