1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/// CLI flag to execute the real-hardware Metal parallel CPU+GPU A/B benchmark suite (`AB-1..AB-6`).
pub const BENCH_FLAG_PARALLEL_AB: &str = "--parallel-ab";
/// Case identifier for AB-1 sparse reactive single-leaf mutation benchmark.
pub const PARALLEL_AB1_NAME: &str = "ab1_sparse_reactive_mutation";
/// Case identifier for AB-2 heavy mixed ASCII+CJK text-wrap parallel reflow benchmark.
pub const PARALLEL_AB2_NAME: &str = "ab2_heavy_text_wrap_reflow";
/// Case identifier for AB-3 massive 20,000-node responsive Grid GPU compute reflow benchmark.
pub const PARALLEL_AB3_NAME: &str = "ab3_massive_grid_20k_reflow";
/// Case identifier for AB-4 50,000-node animated Spring/DataViz GPU indirect-draw benchmark.
pub const PARALLEL_AB4_NAME: &str = "ab4_50k_spring_indirect_draw";
/// Case identifier for AB-5 mixed dashboard CPU chrome + GPU 20,000-cell grid co-execution benchmark.
pub const PARALLEL_AB5_NAME: &str = "ab5_mixed_dashboard_coexec";
/// Case identifier for AB-6 pipelined `in_flight=2` + `DirtySpanCoalescer` 10,000-primitive benchmark.
pub const PARALLEL_AB6_NAME: &str = "ab6_pipelined_dirty_span_upload";
pub const AB_PARITY_MAX_ERR_PX: f32 = 0.01;
pub const AB_SPARSE_NODE_COUNT: usize = 2_000;
pub const AB_TEXT_CARD_COUNT: usize = 2_500;
pub const AB_GRID_20K_CELLS: usize = 20_000;
pub const AB_SPRING_50K_NODES: usize = 50_000;
pub const AB_DASHBOARD_CHROME_CARDS: usize = 500;
pub const AB_PIPELINED_PRIMITIVES: usize = 10_000;
pub const AB_PIPELINED_DIRTY_PRIMITIVES: usize = 100;
pub const AB_ROUTER_WARMUP_STEPS: usize = 8;
pub const AB_ROUTER_STEP_MS: u64 = 100;
pub const AB_REPORT_HEADER: &str = "euv Real-Hardware CPU+GPU Parallel A/B Suite (AB-1..AB-6)\n================================================================================\n";
pub const AB_CARD_PREFIX_LABEL: &str = "Telemetry Card";
pub const AB_MIXED_TEXT_COPY: &str = "Cross-platform native Rust parallel layout 跨端原生并行布局引擎 with deterministic subpixel wrapping and zero-VDOM cache.";
pub const AB_SPARSE_LEAF_A: &str = "Metric 120.0Hz active";
pub const AB_SPARSE_LEAF_B: &str = "Metric 240.0Hz active";
pub const AB_ARM_CPU_SERIAL: &str = "CpuSerial";
pub const AB_ARM_CPU_PARALLEL: &str = "CpuParallel+SIMD";
pub const AB_ARM_GPU_COMPUTE: &str = "GpuCompute+IndirectDraw";
pub const AB_ARM_MIXED_COEXEC: &str = "MixedCoExec";
pub const AB_ARM_INFLIGHT1_FULL: &str = "InFlight1+FullUpload";
pub const AB_ARM_INFLIGHT2_DIRTY: &str = "InFlight2+DirtySpan";
pub const AB_BACKEND_METAL: &str = "MetalHardware";
pub const AB_BACKEND_CPU_REF: &str = "CpuReferenceParity";
pub const AB_STATUS_PASS: &str = "PASS";
pub const AB_STATUS_FAIL: &str = "FAIL";