diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 15:54:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 15:54:00 -0300 |
| commit | dc82c33cf9abb83c355e213c10aaec3d4ea29d77 (patch) | |
| tree | 626f65c3fcd473e65169c8aca5637c737b883bd7 /docs | |
| parent | 1e9bb9c14e5d1c32e2bae774805148b8554ea8fb (diff) | |
| download | pardes-dc82c33cf9abb83c355e213c10aaec3d4ea29d77.tar.gz pardes-dc82c33cf9abb83c355e213c10aaec3d4ea29d77.zip | |
test/perf: pardes-perf's pump ends a step as a frontend's does, the terminals sized to the layout it settled on (Pardes.sizeTerminals, as Pardes.settle has it), so the terminal cell's resize steps resize its emulator again (the final integration's perfops: the candidate's `pardes-perf --reps 1` exited 1, `error: TerminalDidNotResize`, so no per-operation count of the round could be taken); THE CAUSE: ztlypnxr 5dab435d7262 (M2's stack) moved a terminal's resize out of `update` into `settle`, a pump's step end, and pardes-perf's `pump` drained the effects alone, never sizing the terminals, so `resize_rows`/`resize_cols` found the emulator at its old size (perf.zig:955); THE FIX: `pump` calls `core.sizeTerminals()` before it drops the effects (no pty here, none performed); the cell now times what a frontend's step does for a resize, the reflow included; TEST CODE ONLY; RUN: the gate's perfops run above fails; with this change perfpfx (gui ReleaseFast) builds and perfops runs all 121 counts against w2base (the installed build's tree): the largest growths image-frame +1.81% (per-op, all four fixtures) and terminal on all +1.57%, client-delete-undo on longline +0.57%, every other count within +0.02% or lower, 14 counts more than 2% lower (body-appends -4.5 to -5.3%, client-key-down -3.1%, wheel, key-right, page-down -3.2% and render -2.9% on longline); load 1.5 to 2.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
