Skip to main content

Crate euv_performance

Crate euv_performance 

Source
Expand description

euv-performance

Reproducible CPU, reactive propagation, retained layout cache, and multi-mode rendering benchmark suite for the cross-platform euv runtime.

Structs§

BenchMetric
Timing and throughput telemetry for a single micro- or macro-benchmark.
BenchReport
Complete serialized report produced by run_full_benchmark_suite.
LatencyDistribution
Per-iteration latency percentile distribution, frame-budget misses, and damage telemetry.
PartialDamageAbSummary
Interleaved A/B comparison validating P1 surgical partial-layout damage against full redraw.
StressMatrixEntry
Single scenario entry recorded inside a StressMatrixReport.
StressMatrixReport
Complete serialized report produced by run_stress_matrix / run_filtered_stress_matrix.

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_STRESS_MATRIX
CLI flag to execute the §03/§08 stress-test verification matrix.

Functions§

bench_app_smooth_scroll_fractional
Benchmarks fractional +3.7px wheel scrolling and active pointer hover moves at 240Hz across a 1,000-row scroll viewport.
bench_font_text_wrap_measure_cache
Benchmarks DeterministicTextMeasurer::measure and measure_size on mixed ASCII/CJK paragraphs alongside hot GlyphAtlas hits.
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::build and HardwareRenderer::render on 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 Signal updates propagating through a diamond Memo graph.
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 EuvDrawer portal 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::Hidden rounded 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.0x multi-card shadowed UI scrolling in the multi-core software rasterizer.
bench_stress_long_list_100k
Stress-benchmarks continuous scrolling of a 100,000-row EuvVirtualList through 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 .wasm binary 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 EuvMarkdown document containing a 6x4 table, task list, alert, and 60-line Rust EuvCodeBlock.
bench_ui_router_freeze_switch
Benchmarks cycling across 8 PageRetention::Freeze routes in EuvRouter + EuvRouterOutlet paired with EuvSidebarNav and EuvTabs.
bench_ui_view_macro_mount_500_nodes
Benchmarks mounting and disposing a ~500-node declarative view! tree combining style! with EuvCard, EuvButton, EuvBadge, EuvProgress, EuvTag, and EuvStatCard.
bench_unicode_glyph_atlas
Benchmarks Unicode + CJK glyph rasterization and GPU RGBA8 atlas shelf-packing.
format_bench_report
Formats a BenchReport into an aligned terminal summary table.
format_stress_matrix_report
Formats a StressMatrixReport into a human-readable terminal table showing tail percentiles and A/B parity.
report_to_json
Serializes a BenchReport to 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 when None).
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 StressMatrixReport to pretty-printed JSON.
stress_partial_single_row_update_ab
Runs interleaved A/B single-row leaf updates comparing partial_layout_damage = false vs true with bit-exact RGBA parity verification.
stress_terminal_tui_diff
Stress-tests §06 TerminalRenderer full-sync, 1-cell incremental ANSI diff bytes, and 0-byte idle flush throughput.
stress_virtual_list_scroll_tail
Stress-tests 100,000-row EuvVirtualList high-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.