(fraction: number)
| 3636 | // takes this callback reports a 0..1 fraction of its own work, surfaced |
| 3637 | // here as fractional progress within its step. |
| 3638 | const subProgress = (fraction: number): void => |
| 3639 | emit(passesDone + Math.max(0, Math.min(fraction, 1))); |
| 3640 | emit(0); |
| 3641 | |
| 3642 | // Per-pass wall-clock timing to stderr, opt-in via CODEGRAPH_SYNTH_TIMINGS |