Context
PR #901 benchmark data shows native full build time jumped from 5.2s (3.9.1) to 9.4s (3.9.2), an 81% increase despite only 17% more files (570 → 667). This is the first time native is slower than WASM for full builds.
Phase breakdown (1-file profile)
The bottleneck is outside parsing:
setupMs: 37.8ms native vs 1.8ms WASM (21x)
structureMs: 127.9ms native vs 34.6ms WASM (3.7x)
cfgMs: 53.6ms native vs 0.3ms WASM (179x)
dataflowMs: 31.3ms native vs 0.5ms WASM (63x)
Action
Identify and fix the regression in the native engine's structure, CFG, and dataflow phases before shipping 3.9.2.
Flagged by Greptile in PR #901.
Context
PR #901 benchmark data shows native full build time jumped from 5.2s (3.9.1) to 9.4s (3.9.2), an 81% increase despite only 17% more files (570 → 667). This is the first time native is slower than WASM for full builds.
Phase breakdown (1-file profile)
The bottleneck is outside parsing:
setupMs: 37.8ms native vs 1.8ms WASM (21x)structureMs: 127.9ms native vs 34.6ms WASM (3.7x)cfgMs: 53.6ms native vs 0.3ms WASM (179x)dataflowMs: 31.3ms native vs 0.5ms WASM (63x)Action
Identify and fix the regression in the native engine's structure, CFG, and dataflow phases before shipping 3.9.2.
Flagged by Greptile in PR #901.