Files
clice/benchmarks
ykiko f19e75e2fb bench: add heavy AST load test forcing full PCH deserialization
Adds a "heavy" source file that references types from all 70 headers
(vector, map, optional, regex, thread, chrono, etc.) to stress-test
PCH chain deserialization. Even under full deserialization the chained
PCH overhead is only +6% vs monolithic.

Also adds an end-to-end benchmark simulating the real workflow:
1. Monolithic PCH build (what user waits for): 1233ms
2. Background chain split (async): 2672ms (user doesn't wait)
3. Incremental append of <chrono>: 28ms vs 1251ms rebuild (44x speedup)
4. Correctness verification: PASS

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:03:08 +08:00
..