From 5cea19dfded7027090234bbe41fdaac3d379e012 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 30 Oct 2026 03:48:41 -0300 Subject: terminal: a shell's cells painted from the row's own pin (cellAt), not getCell's walk from the viewport's top to the row for every cell: a frame of a 120x40 terminal over 64 KB to 8 MB of scrollback 107-127 -> 94-102 us against base, ReleaseFast; the 'regression' phase 5B read against base was a Debug-core perf binary (core_optimize debug, terminal safe) beside a ReleaseFast one, file gestures level once both are ReleaseFast Co-Authored-By: Claude Opus 5.5 --- docs/next-daemon.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/next-daemon.md b/docs/next-daemon.md index f6400770..ce828b89 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -2171,9 +2171,13 @@ scripts are in `.scratch/daemon/remote/t2/`. the opens 0.93 to 1.02; body-2m 1.02 to 1.26 (small's 1.26 alone); the scrollback cells 0.93 to 1.05. The A/A read 0.79 to 1.46 (most within 0.9 to 1.1). Against base the keys read 1.11 to 1.20 and the - scrollback renders 1.68 to 2.18: main's since base (this line is level - with main), and base's harness is an older perf.zig, so that pair - measures the harness too. + scrollback renders 1.68 to 2.18, but that pair was wrong: both of + this line's core benchmarks were built at the default `-Doptimize` + (their `--json` identity says `core_optimize` debug and + `terminal_optimize` safe; the driver alone is ReleaseFast) and base's + is ReleaseFast throughout. Built ReleaseFast, main's file gestures are + level with base, and a terminal's frame is faster than base's since + `terminal.cellAt` (the final gate's notes, at the end). The gates, once at the end (Debug unless said): - `zig build unit-test -Dplatform=tty` passes, its perf gate too; -- cgit v1.3