107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
{
|
|
"version": 1,
|
|
"captured": "2026-05-11",
|
|
"captured_via": "bench/compile_check.py",
|
|
"note": "Compile-time bench. `check_ms` is `ail check FILE`; `build_O0_ms` is `ail build --opt=-O0 FILE`. Wall-clock includes subprocess spawn (~5-10 ms on Linux) and, for build, the clang link step. Tolerances are tuned for noise on a quiet developer machine, not as the language correctness bar.",
|
|
"check_ms": {
|
|
"hello": {
|
|
"baseline_ms": 1.0,
|
|
"tolerance_pct": 25
|
|
},
|
|
"list_map_poly": {
|
|
"baseline_ms": 1.24,
|
|
"tolerance_pct": 25
|
|
},
|
|
"local_rec_capture": {
|
|
"baseline_ms": 1.09,
|
|
"tolerance_pct": 25
|
|
},
|
|
"borrow_own_demo": {
|
|
"baseline_ms": 1.09,
|
|
"tolerance_pct": 25
|
|
},
|
|
"nested_pat": {
|
|
"baseline_ms": 2.23,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_list_sum": {
|
|
"baseline_ms": 1.19,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_tree_walk": {
|
|
"baseline_ms": 1.24,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_closure_chain": {
|
|
"baseline_ms": 1.27,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_hof_pipeline": {
|
|
"baseline_ms": 1.35,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_compute_intsum": {
|
|
"baseline_ms": 1.14,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_compute_collatz": {
|
|
"baseline_ms": 1.17,
|
|
"tolerance_pct": 25
|
|
},
|
|
"bench_list_sum_explicit": {
|
|
"baseline_ms": 1.28,
|
|
"tolerance_pct": 25
|
|
}
|
|
},
|
|
"build_O0_ms": {
|
|
"hello": {
|
|
"baseline_ms": 84.24,
|
|
"tolerance_pct": 20
|
|
},
|
|
"list_map_poly": {
|
|
"baseline_ms": 87.47,
|
|
"tolerance_pct": 20
|
|
},
|
|
"local_rec_capture": {
|
|
"baseline_ms": 85.03,
|
|
"tolerance_pct": 20
|
|
},
|
|
"borrow_own_demo": {
|
|
"baseline_ms": 86.69,
|
|
"tolerance_pct": 20
|
|
},
|
|
"nested_pat": {
|
|
"baseline_ms": 88.91,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_list_sum": {
|
|
"baseline_ms": 86.57,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_tree_walk": {
|
|
"baseline_ms": 86.43,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_closure_chain": {
|
|
"baseline_ms": 85.72,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_hof_pipeline": {
|
|
"baseline_ms": 86.85,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_compute_intsum": {
|
|
"baseline_ms": 85.48,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_compute_collatz": {
|
|
"baseline_ms": 87.06,
|
|
"tolerance_pct": 20
|
|
},
|
|
"bench_list_sum_explicit": {
|
|
"baseline_ms": 84.19,
|
|
"tolerance_pct": 20
|
|
}
|
|
}
|
|
}
|