summaryrefslogtreecommitdiff
path: root/docs/next-anim.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/next-anim.md')
-rw-r--r--docs/next-anim.md1107
1 files changed, 0 insertions, 1107 deletions
diff --git a/docs/next-anim.md b/docs/next-anim.md
deleted file mode 100644
index 3d95dfe6..00000000
--- a/docs/next-anim.md
+++ /dev/null
@@ -1,1107 +0,0 @@
-# anim: the game animation pass, as built
-
-The author's words were the spec: scrolling whose timing is consistent so
-it never feels choppy; every scroll animated, a long one too; smooth
-while keeping the responsiveness; the thin insert-mode caret animated like
-the block; small motions that read as smooth; the game's habits for
-implementation and testing, frame timings measured as a game measures
-them. Later rounds: input latency is a hard constraint; p90/p99 against
-the mean is the smoothness measure; throughput on a big file; every file
-kind, pane kind and way a view moves, the tty, long lines walked along,
-picture and PDF first frames; ponytail for all of it; recordings.
-
-Positions, not a verdict: argue with them.
-
-## The change stack (workspace `pardes-n-anim`, above converge `oqolqlko`)
-
-| change | what |
-|---|---|
-| anim 1 `vtmwqzpt` | `src/FrameStats.zig`, the frame probe in `Pardes.frames`, stamped by `pump`; the Debug box's timing lines; `PARDES_FRAMES` dump at exit |
-| anim 1b `sxxnrzqz` | input-to-present latency, work zones, the view shown, the tty's bytes; the timedemos (`PARDES_FRAMES_DEMO=scroll\|stress\|jumps\|kinds\|panes\|longlines\|one\|clip-*`); `PARDES_FRAMES_CAPTURE` (every presented frame's pixels, for the samples) |
-| anim 2 `yqwqutws` | the GUI's paced frame loop: a tick grid, each frame sampled at its tick, an input's frame at once |
-| anim 3 `wkxvyoqy` | every scroll glides, whatever moved the view |
-| anim 4 `qztrptlo` | the thin caret glides; a step eases; the caret rides a scroll's glide |
-| anim 5 `ntnlpots` | colours painted ahead on a worker (`Stream.paintAhead`) |
-| anim 6 `xykrnoql` | the tty paced too, its acks and output waited through |
-| anim 7 `powlyrxv` | what the probe found: the spin, glide measure and emission, far-jump and long-line paints, the caret's sideways scroll, no join on the loop, pictures decoded off the loop |
-| anim 8 | this note |
-| anim 9 `nqznmskw` | the view's motion is one system: a stream of inputs moves it at its own rate, the spring only settles it |
-| anim 10 `umnwnrvn` | the caret is its own body: drawn from its own springs, never carried by the text's glide |
-| anim 11 `knzzzknu` | the integrator is `animation.Follow`; a PDF's strip moves in it, in pixels; a slow stream eases onto its mark |
-| anim 12 `nqmoxkwz` | the tty runs the same glide (`src/glide.zig`), drawn at whole rows |
-
-Tests (one check each, `-Dtest-filter`): "frame stats: gaps into a motion
-count as jank ...", "every scroll glides on one law ...", "a cursor eases
-a cell at a time, keeps up with typing, and glides a jump ...", "the
-focused cursor glides a jump, eases a step, the thin caret too ...",
-"Stream: a scroll's colours are painted ahead on a worker ...", "a long
-line is painted only around the caret", "a caret deep in a long line
-scrolls the view sideways to it, measured from the view's edge". Builds:
-Debug and ReleaseSafe, gui and tty. Failing: only the two baseline
-failures NEXT.md names. Not re-baselined: the GUI golden `16-debug` (the
-Debug box is three rows taller; it shows `frame virtual clock` under the
-golden's clock so it stays still).
-
-## Method
-
-The probe (anim 1, 1b): a fixed ring of 16384 frames in `Pardes` (1.3 MB,
-nothing allocated per frame, three clock reads a frame, always on). Per
-drawn frame: update, render, present µs; the gap since the last present;
-whether something was moving into it (a gap over 1.5 periods then is
-jank); the input-to-present latency of the first input it answers (SDL's
-event timestamp, moved onto the monotonic clock; the tty stamps a key as
-its loop takes it); the view and the picture's offset (throughput is rows
-actually presented); zones (the core's body rows and colours; the GUI's
-instance build, shaping and rasterizing in it; a soft present's GPU wait,
-upload and flip); the tty's bytes. `Debug` shows the last second.
-
-The timedemos are a game's: fixed scripts fed through the shell's own
-input paths, named phases, the session ending itself. The tty is driven
-through a pty I own (`.scratch/tools/ttydemo.py`, typing the same
-scenarios as bytes, answering the frame acks). The corpus
-(`.scratch/tools/corpus.sh`) links 13 big real files from the genizah
-(a generated C parser, helix's commands.rs, a Python table, jquery, a
-minified bundle, a grammar JSON, CHANGELOG.md, an HTML spec page, the
-simdutf amalgamation, a TypeScript parser, a long shell test, a Go table,
-guide.typ) and generates five (a 600 KB one-line JSON, CJK/emoji/
-combining/RTL/tab text, a 32 MB log, 400k short lines, six 360 KB lines).
-The stress file is layout.zig x23 (38k lines, 1.6 MB).
-
-**Every before/after below is a pair run back to back** (`batch3.sh`:
-base then after per demo), the before binary being main+probe (anim 1/1b
-alone, `.scratch/base-bin`). The first batch, before and after an hour
-apart, was useless: this i7-11700 under intel_pstate moves its clock 2-5x
-with load, which moved every number more than any change did.
-
-## What the probe found, and what came of it
-
-1. **Only a wheel notch animated.** Ctrl-d/u/f/b, PageDown, G, ge, gg, n,
- a Look: zero animated frames; a wheel flick past a body less three rows
- snapped. Now every move glides (below).
-2. **The loop ran uncapped while anything moved**, ~230 frames a second
- on a 60 Hz display (the core asks for a 1 ms wait; the Wayland soft
- present has no vsync), so the compositor showed whichever frame was
- newest at each refresh: motion sampled at a random phase, the choppy
- the author felt. Moving gaps before: p50 4.3 ms, stdev 2.2. Now one
- frame a tick, sampled at the tick: p50 16.6, p99 17.2-18.0 ms.
-3. **Pacing asleep made every frame 2-5x slower** (the same body-rows
- work 3 -> 16 µs, an input's first frame 2.6 -> 7.5 ms p50 RS): a core
- that sleeps 80% of each 16 ms is clocked down. Fixed by spinning while
- something moves, as a game's frame limiter does (A/B below).
-4. **Tree-sitter parsing on the frame** (perf: 36% of the Debug stress
- run, most of it the DebugAllocator capturing a stack trace for every
- tree-sitter allocation): a scroll past the painted stretch parsed the
- next one on the frame, 6-58 ms in Debug, a hitch every two pages. Now
- painted ahead on a worker; Debug held PageDown render p90 24 -> 1 ms.
-5. **A key typed in the middle of a 500 KB line repainted the line**:
- 172-213 ms a key in ReleaseSafe (minified JS, one-line JSON). Now 16 KB
- round the caret.
-6. **The caret's sideways scroll walked a long line from its start**
- (no-wrap, `ensureCursorVisible`, `rawAtDisplay` measures the whole
- line): now measured from the view's edge (`lineDisplayOffset`, which
- already existed for selections).
-7. **A picture decoded on its first frame**: 80-94 ms RS, 285-296 ms
- Debug for the docs' screenshot. Now on a thread; the pane appears at
- once and the picture lands a frame or so after the decode.
-8. **The ReleaseSafe tail is the soft present**: a GPU fence wait (p50 0.6
- ms, p99 6.4) and a 6.7 MB upload (p50 0.9-1.7, p99 4.8) every frame.
- With the GPU swapchain (X11 here) the scroll is 0.34 ms of work p50.
- Not changed: see the positions.
-9. Smaller, fixed: the glide's shift search on a page's first frame (6 ms
- Debug: the core's line count is tried first), its emission of every
- body row however far it lagged (twice the instances), a far jump
- painting three views on the frame, a paint asked at every keystroke, a
- paint of a 600 KB line joined on the loop (half a second), the tty's
- loop running at the terminal's round trip (its acks woke it: one frame
- every 0.4-2 ms while anything moved).
-
-## The design as built
-
-### Pacing (anim 2, 6, 7)
-
-While anything moves, the GUI draws one frame a display refresh on a grid
-of ticks (`waitInput`, `Gui.pace_ns`), and the core is advanced to the
-tick (`guiNow` -> `Shell.paced_ns`), not to whenever the loop woke, so each
-frame moves the motion by exactly a period. A late frame skips the ticks
-it missed. An input ends the wait at once and its frame is drawn then;
-the grid restarts from it. Idle, the loop sleeps as before. Patterns: a
-fixed presentation cadence over variable-step evaluation (the springs are
-closed form, evaluated at the tick; the core's stepped animations keep
-their 16 ms steps), a frame limiter, input acted on at once and never
-gated (only the picture is paced).
-
-The tick is waited out polling, not asleep (anim 7). Same binary, same
-script, interleaved, ReleaseSafe, the scroll demo (`.scratch/runs/ab*`):
-
-| loop | input-to-present p50/p90 ms (notches) | moving gap p50/p90/p99 ms | CPU s per 18 s run |
-|---|---|---|---|
-| before: uncapped | 3.2/15.2 | 4.4/9.3/10.1 | 1.9 |
-| paced, asleep | 6.8-8.2/11-14 | 16.4/19.0/23.6 | 2.9-3.1 |
-| paced, spinning | 1.8-1.9/7.7-15 | 16.6/16.8/17.4 | 7.0-7.3 |
-
-The tty is paced asleep (a terminal has no vsync and no sub-cell motion,
-and power matters more there), and its wait now runs through the frame
-acks and pty output to the tick (`waitOnce`): its moving frames went from
-every 0.4-2 ms (each a write) to one a 16 ms tick.
-
-### Every scroll glides on one law (anim 3, 7)
-
-`stepGlide` keeps each pane's view as the last loop saw it (`Glide.seen`)
-and finds the one that moved, whatever moved it. The body as the last
-frame drew it is still in `core.surface` then, so it is copied there (no
-per-frame copy). The next frame measures the rows moved (the core's line
-count tried first; the shift search only when wrapped rows disagree),
-keeps the rows that left for the gap, and kicks the spring.
-
-- The law: the Motion flavour's critically damped spring (the one the
- author liked on a notch) at 1.5x its pace; a move during a glide adds
- its rows and keeps the speed: retarget, never queue. A notch settles in
- 12 frames, a half page 15, a page or a 30 000-line jump 16.
-- Past what two frames share, the last frame's body is laid just past the
- new one and slides one body (`.scratch/ge-montage.png`: line 55 runs
- into 9448). The lag may reach two bodies, so a jump mid-glide carries on.
-- Readable: at most a body in four frames (`Glide.sample`).
-- Not gliding: a new pane (appears at once), a pane moved or resized in
- the same step, a terminal's output, a touchpad (follows the finger),
- generated text rewritten as its view moved, Motion off (all land; the
- test checks).
-- The caret and the glide quad ride the picture (`glideLift`).
-
-### The view's motion is one system (anim 9)
-
-The author watched sample 3 and saw a bounce a line under a held j: every
-repeat restarted the spring's ease to its new target, so the picture sped
-up and slowed down once an input. Now the picture's motion is one system
-with its own state (`Glide`: its lag behind the text, its speed, and the
-inputs that have been feeding it), integrated in one place every frame
-(`Glide.advance`), and every scroll is an input into it (`Glide.kick`),
-absorbed by what the system is doing:
-
-| the system is | an input comes | it does |
-|---|---|---|
-| at rest | any move (a j, a notch, a page, a jump) | the spring starts an ease from rest |
-| easing | the same way, within 150 ms | the inputs are a stream now: it moves at their rate (rows an input over their spacing), a lag of an input or so behind, never easing to each |
-| fed by a stream | another of the stream | the target moves on; the speed stays the stream's |
-| fed by a stream | the inputs stop (none for 1.5 spacings) | the spring settles it, from the speed it has, never past its mark: the only ease-out |
-| moving | an input the other way | the stream ends; the spring turns it through zero from its speed |
-| moving | a jump past what two frames share | its rows are added (the stitched slide); the speed carries on |
-
-The caret is its own body (anim 10): its state is its own springs
-(`CursorGlide`, screen cells as floats), integrated on the same tick, and
-it is drawn from that state only, never from the text's glide (the ride
-that lifted it with the glide's fractional lag is deleted: every motion
-of the text had leaked into it). Its only coupling to the view is its
-target: its cell in the view as it will be once settled (the core's view
-is that one).
-
-| an input | the caret's target | it does |
-|---|---|---|
-| a page or half page, a scroll that keeps its screen row (Ctrl-f/b/d/u, PageDown/Up, a j or k at the edge row) | unchanged | not a pixel's move while the text slides under it |
-| a move in a still view (h/j/k/l, w, a click, a typed character) | the new cell | the short ease |
-| a stream of such moves (a held key, typing) | each new cell | lands on each, at the keys' rate |
-| a scroll that carries its line (the wheel, Ctrl-o to a far place in view) | where its line will be | moves there whole, at the view's pace, and lands exactly |
-| a jump that moves both (G, a Look) | the final cell | one ease, no trip with the old page |
-| a terminal's output | its cell | lands with the output (which does not glide) |
-| Motion off | the cell | there at once |
-
-While a glide moves the text the caret is drawn as its quad (from its
-springs), not as a cell of the moving rows. Invariants, checked over every
-frame of the scripted scroll and held-key runs (`GlideRun.checkCaret`):
-while its cell stays and it is on it, its drawn row is identical frame to
-frame; it only closes on its cell; it lands within half a second of its
-last change. The blink keys off the last key or click, never a frame.
-
-So a held j, a spun wheel and a held Ctrl-d are the same case (a stream),
-a single j or notch the same ease as before. Every input, a repeat too,
-is still drawn at once: in a stream the picture is on the stream's
-straight line wherever a frame samples it (tried: holding repeats to the
-next tick cost a held key 7 ms of latency for no evenness one could see).
-
-### A PDF's strip, the same system (anim 11)
-
-The integrator is `animation.Follow` now (the Glide's state and rules,
-moved out; the text's Glide holds one, in rows). A PDF pane's strip holds
-another, in pixels: the core's position is `document_scroll_y` as every
-input leaves it, and the strip is drawn `follow.offset` from it
-(`pdf_view.stripAt`, each frame at the core's clock). Whatever moved the
-core's position since the last frame kicks it, so every way a PDF moves is
-one input to the same rules, the text's table above unchanged:
-
-| input | the strip |
-|---|---|
-| a wheel notch (a line's pixels), a spin | eases; a spin is a stream, at its rate |
-| PageDown/Up, Ctrl-d/u/f/b, held | a stream, at its rate (to the 15 bodies a second cap) |
-| ge, gg, a Look at `file.pdf:12`, Back, a section in the outline | a jump: past a body, one body's slide, as a text's far jump |
-| a click on the rail, a tick | eases |
-| a touchpad's fraction (`pdf_scroll.glide` false) | follows, drawn where the core is the same frame |
-| a resize, a fit or zoom change (a relayout) | there at once |
-| a search's reveal (it moves the strip as it draws) | there at once |
-| Motion off | there at once |
-
-Rendering stays on the loop (MuPDF; its first-frame and context work is
-the open item it was). So that no frame of a glide waits on it, the pages
-a glide crosses to its mark are rendered in its input's frame, where the
-instant move rendered its destination; a jump past a body (`far`) renders
-only where it comes to rest, and its slide comes in over what is there
-(the page above the mark is not drawn for a slide of a tenth of a second:
-that page was the input frame's whole extra cost). Drawn at the strip's
-position, rounded only by the draw (`pixel_offset_y` keeps the
-fraction). Pictures are fit to their body and neither scroll nor pan:
-nothing there to move.
-
-**Why the slow PDF scroll read as jumps**: a wheel notch moved the strip a
-whole line's pixels (25 here) in the one frame after it, and nothing in
-between: at a slow turn, one 25 px jump a notch. The touchpad path was
-never quantized (fractions all the way to the placement). Now a notch is
-a kick, and the strip eases over ~6 frames.
-
-### The tty, the same system (anim 12)
-
-The glide is shared now (`src/glide.zig`: the Glide, and its step that
-finds the view that moved, snapshots the body and measures the move); the
-GUI keeps only its wheel notches and its pixel draw. The tty steps the same
-glide each loop (`pollFrame`), integrates it on its 16 ms ticks, and draws
-it at whole rows (`panel_compositor.glideRows`): the body's rows moved by the offset
-rounded, the position never the step, the rows that left in the gap. So a
-flick's fast part moves several rows a tick as the body dictates and its
-tail is one-row steps further and further apart: a deceleration in the
-timing, not in the step. The end is the instant version's. The caret: one
-whose line rode the scroll (a wheel's) is carried with its rows; one that
-kept its row (a page, a held j at the bottom) stays on its cell, still.
-
-Checks: "the tty draws a glide at whole rows" (a flick and a spin: once
-slowing, steps a tick never grow, one-row steps never closer together, to
-where the core is; then j held on the bottom row: the caret's row is the
-same every tick). The timedemos typed into a pty (160x50, `ttydemo.py`,
-RS): past each glide's fastest tick, steps never grew in the decelerating
-part of any of 24 (scroll) and 186 (stress) glides, and the ticks between
-one-row steps never shrank; the only growth is at a stream's constant
-speed, where the rounding alternates (5, 4, 5, 4 rows a tick at the 4.5 a
-tick cap). Bytes: a tick costs a body repaint (p50 7.4-7.9 KB, max
-13.4-15.3 KB, the before's max), so a glide costs its row steps' worth:
-the scroll demo wrote 383 -> 990 KB, the stress demo 3.8 -> 7.1 MB. Terminal
-scroll regions would make a one-row step a few bytes (position 8).
-
-| tty | | latency ms p50/p90/p99/max | frame work ms | moving gap ms | bytes/frame p50/max |
-|---|---|---|---|---|---|
-| RS scroll | before | 2.3/3.0/11.5/11.5 | 2.2/2.7/8.5/11.0 | 15.9/16.7/18.8/18.8 | 120/15264 |
-| | after | 2.5/3.1/11.5/11.5 | 2.3/2.8/4.4/11.9 | 15.7/16.7/18.4/18.7 | 0/15264 |
-| RS stress | before | 1.4/2.9/5.9/15.6 | 1.1/2.7/4.9/14.1 | 15.6/16.6/18.4/18.4 | 140/13383 |
-| | after | 1.5/2.8/5.5/14.0 | 1.9/2.9/3.8/12.5 | 14.3/16.5/18.1/19.0 | 7363/13383 |
-| Debug scroll | before | 9.4/14.5/28.7/28.7 | 6.0/13.0/21.2/36.2 | 15.5/19.0/21.7/21.7 | 128/15264 |
-| | after | 6.0/13.8/44.0/44.0 | 6.1/9.9/17.0/27.3 | 15.5/19.6/24.9/26.0 | 0/15264 |
-| Debug stress | before | 2.4/13.0/92.9/148.4 | 2.2/10.8/68.2/148.1 | 15.6/18.7/25.4/25.4 | 6858/13383 |
-| | after | 2.8/10.3/90.5/180.3 | 2.7/7.7/56.7/180.2 | 12.8/17.6/65.0/180.4 | 7270/13383 |
-
-Found on the way (sample 1): at a spin's end the measure found no shift
-under which the rows agreed (the colours painted ahead arrive as it
-stops) and gave the glide up, a 1.6-row snap on the last frame, in the
-merge head as in anim 9-11. When the core moved a few lines and the rows
-only disagree, the lines are the rows' guess now: it glides them, and the
-spin's settle is whole (33, 4, 1.8 ... 0.03 px, never growing). Re-measured
-on the head (stress, RS): the caret under a held j moves 0.0 rows frame to
-frame over the 144 frames the view moves; every settle's steps never grow
-after its fastest frame, the last at most 0.05 px. The snapshot harness's
-virtual clock moves a frame a wake while the glide moves (it only moved to
-the next due wait, so a tty glide stood still there): all 110 scripts pass,
-no golden changed.
-
-(The Debug maxima are single frames of highlight paint on the 1.6 MB
-file, as before; ponytail: a terminal's scrollback under the tty's wheel
-lands, it reaches the core as a mouse event the GUI's notch count does not
-see.)
-
-### Coming to rest (anim 9, 11)
-
-Found while measuring the PDF: a slow stream (notches 150 ms apart, just
-inside the stream window) ran its constant rate into the mark, stopping
-from 2.6 px a frame, and its last speed, never zeroed, then carried it
-0.04 row past the mark and back. A stream is now never faster than the
-spring's own pace from where it is (omega a unit of lag a second): it eases
-onto each mark. The check: "a follow comes to rest without a snap" (a
-spin, a page, and notches 144 ms apart: toward the mark only, onto it from
-under a third of a pixel, past its fastest frame each step no longer than
-the last); it fails on the old rule.
-
-Measured on every settle the runs have (frames after an input until the
-view is still, speeds normalized by the frame's own time): before anim 9
-the old spring's tails were already monotonic; the anim 9+10 stream rule
-had one rising tail in the scroll demo's notches (the stop from 2.6 px)
-and a last step of 0.88 px; now, over the scroll, stress and PDF runs
-(ReleaseSafe and Debug), no tail rises after its fastest frame and the
-last step before rest is at most 0.06 px (text) and 0.05 px (PDF).
-
-### The cursor (anim 4)
-
-The thin caret glides as the block does. A step of a cell or less eases
-instead of landing: its own spring 1.5x stiffer, the four corners
-together, never overshooting, ~60 ms; at a key's repeat it trails half a
-cell and never smears a caret into a block. A jump still smears and bows.
-
-### Colours painted ahead (anim 5, 7)
-
-`Stream.paintAhead` asks the disk engine's worker (its own generation
-bit) to paint the stretch two views ahead the way the view last went,
-with its own parser and cursor (`syntax.highlightApart`; markdown and
-typst, whose injections share parsers, stay on the loop).
-`refreshHighlights` takes it on arrival (`takeAhead`). A paint still
-reaching into what is asked is let finish; one that does not is told to
-stop and left to end on its own, never joined on the loop. Not asked
-while the view stands still, nor for stretches over 512 KB.
-
-## Per scenario: glides, snaps or follows
-
-| scenario | | why |
-|---|---|---|
-| wheel notch, a spin | glides, each notch retargeting | discrete steps, piled onto one glide |
-| touchpad | follows | direct manipulation: smoothing is lag |
-| Ctrl-d/u/f/b, PageDown/Up, held | glide, retargeting | discrete jumps |
-| G, 12G, 300G, 9000G, gg, ge | glide; past a body, one body's slide | a jump shorter than a body glides its rows; longer ones on the same law |
-| n/N, `*`, a query's Ctrl-n/p moving its owner | glide (the owner's view) | the eye follows where the place went |
-| Look `:40`, `:7000`, `file:line` in the same pane | glide | same |
-| a Look opening a new pane | appears at once | nothing to glide from |
-| jumplist Ctrl-o/Ctrl-i, SPC j o/i | glide | jumps |
-| rail B1/B2/B3, a tick | glide | pardes's rail is acme's: a click scrolls by the row clicked; there is no thumb to drag, so nothing to follow (a thumb drag, if added, must be skipped in `stepGlide` as the touchpad is) |
-| wheel over the gutter | glides | the wheel's |
-| typing, arrows, w/e/l on long lines | the caret eases | small steps |
-| Enter at the bottom of the view | a one-row glide each | the text rolls up |
-| a 200-line paste | one body's slide | a long jump |
-| terminal output | snaps | a stream would always lag |
-| terminal under the wheel | glides | the wheel's; keys in its normal mode snap (position 4) |
-| PDF | glides (its strip, in pixels, anim 11); a touchpad follows | the same rules as text |
-| no-wrap sideways scroll | snaps | horizontal glides were not asked; position 6 |
-
-## Ponytail pass (on the stack, amended in place)
-
-Deleted: the cursor-quad columns of the probe (unused by any analysis:
-about 5 lines in anim 1 and 3 in 1b), the `PARDES_PACE_SLEEP` toggle and
-the sleeping branch it kept (about 12 in anim 7; the A/B above is its
-record); nothing else in the stack had a cheaper rung.
-Shortcuts marked `ponytail:` with their ceilings: the ring's size, the
-tick grid's phase (ours, not the display's), one glide at a time, one
-paint at a time, the spin's cost, a thread a picture, the 16 KB long-line
-paint. Measured behaviour unchanged by the pass (the toggle's default was
-what was measured).
-
-## Numbers
-
-Every row is a pair run back to back (`batch3.sh`), the final binaries,
-ms p50/p90/p99/max; *latency* is input-to-present of the frames that answer
-an input; *frame work* is update + render + present of every drawn frame;
-*present gap* only over frames something was moving into; *late* counts
-moving gaps over 25 ms. The soft present (Wayland) in both. Small phases
-(under ten inputs) move a couple of ms round to round in both directions;
-the long phases are the ones to read.
-
-### Headline: every phase of a demo pooled, before -> after
-
-| build | demo | latency | frame work | present gap (moving) |
-|---|---|---|---|---|
-| rs | scroll | 4.2/8.2/11.4/17.4 → 2.4/7.8/14.1/14.1 | 3.6/8.4/11.2/17.0 → 3.0/6.6/11.5/14.0 | 4.5/9.4/11.9/12.6 → 16.6/16.8/16.9/17.8 |
-| rs | stress | 6.4/12.4/20.7/29.5 → 2.1/6.5/12.2/14.5 | 3.6/10.4/19.3/29.5 → 2.1/6.3/10.0/14.4 | 3.3/8.7/9.6/12.4 → 16.5/16.8/17.1/22.2 |
-| rs | jumps | 6.5/10.1/15.9/21.5 → 3.8/11.2/12.8/20.5 | 4.0/8.8/13.5/21.1 → 1.9/7.1/11.6/20.0 | 8.4/17.1/21.2/23.8 → 16.6/16.8/18.0/22.7 |
-| rs | kinds | 6.3/10.9/21.0/220.1 → 3.3/8.1/18.4/74.4 | 4.1/8.7/13.7/218.1 → 2.4/7.1/11.7/67.5 | 4.2/9.1/11.4/18.6 → 16.6/16.8/17.6/39.0 |
-| rs | panes | 6.8/9.8/20.8/84.3 → 5.4/9.4/17.9/39.2 | 5.2/8.7/13.8/84.0 → 3.6/8.1/14.6/39.1 | 4.3/9.1/14.8/25.7 → 16.6/16.8/18.0/43.2 |
-| rs | longlines | 8.7/17.6/189.4/218.7 → 7.7/17.9/26.5/37.7 | 4.7/9.1/13.7/210.2 → 3.6/9.3/19.9/36.7 | 4.3/9.2/11.3/22.0 → 16.5/16.8/17.3/22.1 |
-| dbg | scroll | 8.2/15.6/33.3/40.2 → 4.4/15.6/23.7/29.7 | 3.7/8.9/15.5/32.9 → 3.1/7.5/17.6/23.2 | 4.4/8.9/11.8/15.0 → 16.6/16.8/17.3/18.0 |
-| dbg | stress | 4.1/25.0/51.6/65.8 → 4.0/8.6/39.0/111.1 | 3.9/17.4/43.0/63.1 → 3.6/8.3/22.6/111.1 | 4.0/9.3/16.7/33.7 → 16.4/16.8/23.1/111.2 |
-| dbg | jumps | 12.7/23.2/41.8/247.9 → 11.5/21.2/35.9/280.9 | 6.9/15.0/33.3/247.4 → 3.5/11.5/22.9/280.4 | 8.1/16.9/30.0/38.9 → 16.6/16.9/29.6/73.9 |
-| dbg | kinds | 8.1/18.7/53.0/1979.3 → 4.6/15.2/56.8/438.8 | 4.4/12.3/28.9/1963.1 → 3.6/9.0/24.4/188.1 | 4.3/8.8/12.3/72.5 → 16.5/16.9/24.5/115.3 |
-| dbg | panes | 7.9/16.2/65.6/304.3 → 6.2/16.1/64.1/266.2 | 5.3/13.1/18.7/301.1 → 4.1/12.9/23.7/262.6 | 4.6/9.2/27.9/108.3 → 16.6/16.8/37.1/146.3 |
-| dbg | longlines | 16.6/33.1/35.8/2801.3 → 16.0/33.0/130.0/319.3 | 10.1/15.7/25.3/1963.0 → 9.2/16.5/80.0/180.3 | 8.6/16.8/27.4/34.5 → 16.6/16.8/18.2/167.2 |
-
-CPU (user s) per run, before -> after: base-rs-scroll 1.968, after-rs-scroll 7.072, base-rs-stress 4.059, after-rs-stress 14.329, base-rs-jumps 17.935, after-rs-jumps 48.597, base-rs-kinds 34.805, after-rs-kinds 94.319, base-rs-panes 11.838, after-rs-panes 24.085, base-rs-longlines 37.191, after-rs-longlines 70.976, base-dbg-scroll 2.524, after-dbg-scroll 7.842, base-dbg-stress 6.108, after-dbg-stress 18.640, base-dbg-jumps 31.800, after-dbg-jumps 60.583, base-dbg-kinds 56.343, after-dbg-kinds 109.000, base-dbg-panes 19.374, after-dbg-panes 29.634, base-dbg-longlines 77.796, after-dbg-longlines 90.633.
-The spin is most of the difference (a core while something moves).
-
-Read in Debug: the before's long-line spikes were 2 s (a key in a 500 KB
-line repainting it); after, a key there is 80-180 ms in Debug (16 KB of
-tree-sitter through the DebugAllocator: position 2) and 18-22 ms in
-ReleaseSafe; the pooled Debug p99 rises because those keys are many and
-the 2 s ones were few, the max falls 2801 -> 319.
-
-### Per scenario
-
-#### GUI ReleaseSafe: `scroll`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| notches | before | 3.8/6.9/6.9/6.9 | 3.4/8.4/10.8/11.5 | 4.5/9.5/11.9/12.6 | 7 | 0 |
-| | after | 1.9/8.4/8.4/8.4 | 1.8/3.2/8.3/8.3 | 16.7/16.9/17.8/17.8 | 7 | 0 |
-| spin | before | 2.9/8.0/9.2/9.2 | 3.2/8.2/9.2/10.0 | 4.0/9.0/10.2/11.1 | 35 | 0 |
-| | after | 2.4/7.1/11.8/11.8 | 2.3/6.4/11.7/11.7 | 8.8/16.7/17.0/17.0 | 34 | 0 |
-| pages | before | 6.8/7.2/17.4/17.4 | 6.7/7.1/17.0/17.0 | - | 3788 | 0 |
-| | after | 7.6/14.1/14.1/14.1 | 4.1/7.6/13.6/14.0 | 16.6/16.8/16.9/17.0 | 3598 | 0 |
-| retarget | before | 8.4/11.2/11.2/11.2 | 8.4/11.1/11.1/11.1 | - | 150 | 0 |
-| | after | 5.0/11.4/11.4/11.4 | 5.0/5.2/11.3/11.3 | 16.6/16.8/16.9/16.9 | 92 | 0 |
-| cursor | before | 6.9/8.8/11.4/11.4 | 6.1/8.8/11.3/11.5 | 5.5/9.8/12.4/12.5 | 0 | 0 |
-| | after | 2.4/8.2/10.6/10.6 | 4.0/6.7/10.4/11.5 | 16.6/16.7/16.9/17.7 | 0 | 0 |
-
-#### GUI ReleaseSafe: `stress`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| spin | before | 2.8/8.0/9.9/11.3 | 2.8/7.9/9.7/11.3 | 3.3/8.7/9.6/12.4 | 189 | 0 |
-| | after | 2.1/6.0/7.6/10.6 | 2.2/6.5/7.5/10.6 | 8.2/13.2/16.8/16.9 | 175 | 0 |
-| held-ctrl-d | before | 7.6/15.1/20.0/20.0 | 7.5/15.0/20.0/20.0 | - | 539 | 0 |
-| | after | 2.2/6.5/14.5/14.5 | 2.1/6.1/9.3/14.4 | 16.6/16.9/17.3/18.2 | 508 | 0 |
-| held-j | before | 6.8/11.1/15.3/15.3 | 6.7/11.0/15.3/15.3 | - | 35 | 0 |
-| | after | 2.0/6.3/11.5/11.5 | 2.2/6.0/7.6/11.4 | 16.6/16.9/17.1/17.8 | 33 | 0 |
-| held-pagedown | before | 11.2/19.4/29.5/29.5 | 11.1/19.3/29.5/29.5 | - | 758 | 0 |
-| | after | 2.1/5.7/7.8/7.8 | 2.2/6.3/7.7/10.3 | 16.6/16.8/17.3/22.2 | 703 | 0 |
-| far | before | 8.1/17.2/17.6/17.6 | 8.1/15.8/16.2/16.2 | - | 64670 | 0 |
-| | after | 12.2/12.4/12.5/12.5 | 1.8/8.6/12.3/12.4 | 16.6/16.8/17.0/17.0 | 60219 | 0 |
-
-#### GUI ReleaseSafe: `jumps`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| counted-G-big | before | 6.9/12.0/16.5/16.5 | 6.5/9.6/16.1/16.1 | 4.7/9.4/10.7/10.7 | 9605 | 0 |
-| | after | 8.6/12.5/12.8/12.8 | 5.2/8.5/12.1/12.3 | 16.6/16.8/22.5/22.5 | 8998 | 0 |
-| pages-up-big | before | 8.2/14.2/21.2/21.2 | 8.1/14.1/21.1/21.1 | - | 1784 | 0 |
-| | after | 8.4/8.8/15.4/15.4 | 4.1/6.0/12.7/15.3 | 16.6/16.8/18.0/18.1 | 1706 | 0 |
-| search-n-big | before | 7.3/9.1/10.1/10.1 | 4.3/8.9/10.7/12.4 | 5.0/10.0/21.6/23.8 | 1255 | 0 |
-| | after | 11.4/11.8/11.8/11.8 | 1.8/7.0/11.7/11.7 | 16.6/16.8/16.9/18.0 | 1255 | 0 |
-| rail-big | before | 6.2/15.6/15.6/15.6 | 4.5/8.9/15.5/15.5 | 5.3/9.9/12.5/14.9 | 3028 | 0 |
-| | after | 8.5/12.6/17.4/17.4 | 1.9/6.2/12.5/17.2 | 16.6/16.8/17.0/18.0 | 3030 | 0 |
-| query-ctrl-n-big | before | 7.8/15.9/16.1/16.1 | 4.2/10.3/15.8/16.0 | 4.7/10.2/16.1/16.1 | 624 | 0 |
-| | after | 6.3/8.8/9.2/9.2 | 1.8/6.0/9.1/11.7 | 16.6/16.8/17.9/18.2 | 724 | 0 |
-| star-big | before | 6.9/10.1/10.1/10.1 | 3.5/8.6/11.2/11.2 | 4.5/10.6/16.0/16.0 | 853 | 0 |
-| | after | 11.5/11.7/11.7/11.7 | 1.9/11.4/11.6/11.6 | 16.6/16.8/16.9/16.9 | 853 | 0 |
-| jumplist-big | before | 12.5/15.6/19.1/19.1 | 6.8/12.6/19.0/19.0 | 16.9/18.9/22.7/22.7 | 4506 | 0 |
-| | after | 11.6/11.8/11.9/11.9 | 1.8/7.1/11.7/11.8 | 16.6/16.9/18.7/21.9 | 7227 | 0 |
-| insert-big | before | 3.3/7.4/12.6/21.5 | 2.4/7.0/12.3/21.0 | 15.9/16.8/22.0/22.4 | 42 | 0 |
-| | after | 2.5/6.2/8.6/20.5 | 1.9/6.0/7.5/20.0 | 16.6/16.8/16.9/17.9 | 58 | 0 |
-| counted-G-small | before | 9.1/12.4/12.4/12.4 | 9.0/12.3/12.3/12.3 | - | 384 | 0 |
-| | after | 8.2/11.4/11.4/11.4 | 2.5/8.6/11.3/12.0 | 16.6/16.8/18.2/18.2 | 363 | 0 |
-| pages-up-small | before | 7.6/15.6/15.7/15.7 | 7.5/15.4/15.6/15.6 | - | 78 | 0 |
-| | after | 11.6/11.8/12.6/12.6 | 1.8/6.8/11.6/12.5 | 16.6/16.8/17.0/17.5 | 74 | 0 |
-| search-n-small | before | 8.9/10.1/12.0/12.0 | 3.3/8.8/10.3/11.7 | 4.0/9.3/12.2/14.1 | 44 | 0 |
-| | after | 7.2/10.7/11.4/11.4 | 5.6/7.1/11.3/11.3 | 16.6/16.8/18.1/18.1 | 45 | 0 |
-| rail-small | before | 8.8/9.8/12.3/12.3 | 8.8/9.7/12.3/12.3 | - | 71 | 0 |
-| | after | 7.3/7.8/8.7/8.7 | 7.1/7.5/8.5/8.5 | 16.6/16.8/16.9/16.9 | 72 | 0 |
-| query-ctrl-n-small | before | 8.7/9.0/12.5/12.5 | 4.6/8.7/10.3/12.3 | 5.1/10.0/16.2/16.2 | 91 | 0 |
-| | after | 7.1/7.6/10.8/10.8 | 1.8/7.0/10.5/10.5 | 16.6/16.8/17.5/17.5 | 94 | 0 |
-| star-small | before | 9.3/10.4/10.4/10.4 | 6.8/9.5/11.0/11.0 | 6.9/9.7/12.4/12.4 | 166 | 0 |
-| | after | 7.8/8.4/8.4/8.4 | 1.8/7.7/9.2/9.2 | 16.6/16.9/22.7/22.7 | 155 | 0 |
-| look-small | before | 7.5/7.5/7.5/7.5 | 7.4/7.4/7.4/7.4 | - | 0 | 0 |
-| | after | 8.3/9.6/9.6/9.6 | 5.9/9.4/12.2/12.2 | 16.6/16.8/18.0/18.0 | 80 | 0 |
-| jumplist-small | before | 9.4/10.2/12.2/12.2 | 8.7/10.1/12.1/12.1 | 16.6/17.2/22.0/22.0 | 88 | 0 |
-| | after | 8.2/9.5/11.2/11.2 | 6.6/8.1/12.3/12.3 | 16.6/17.2/22.4/22.4 | 87 | 0 |
-| insert-small | before | 4.6/8.7/12.1/12.3 | 4.1/8.2/12.2/13.1 | 18.1/20.4/23.2/23.5 | 27 | 0 |
-| | after | 2.0/6.2/8.0/12.9 | 1.8/5.7/7.6/12.8 | 16.6/16.8/17.4/17.9 | 38 | 0 |
-| look-new-pane | before | 7.8/7.8/7.8/7.8 | 4.5/7.0/9.7/9.7 | 16.6/17.4/18.8/18.8 | 0 | 0 |
-| | after | 14.8/14.8/14.8/14.8 | 14.0/14.0/14.0/14.0 | - | 0 | 0 |
-
-#### GUI ReleaseSafe: `kinds`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| generated-parser.c | before | 4.4/10.4/15.9/25.6 | 3.3/8.3/13.4/23.7 | 4.0/8.9/10.7/12.3 | 3794 | 0 |
-| | after | 2.1/6.7/11.6/22.9 | 2.1/6.9/12.2/21.4 | 16.6/16.8/17.2/18.0 | 3788 | 0 |
-| commands.rs | before | 6.8/11.8/22.4/62.2 | 4.1/9.0/18.2/60.6 | 4.3/9.0/10.8/11.8 | 1696 | 0 |
-| | after | 2.0/7.0/11.7/16.2 | 1.9/6.5/11.5/14.7 | 16.5/16.8/18.1/22.6 | 1694 | 0 |
-| tables.py | before | 6.9/12.7/16.3/25.2 | 3.7/8.7/13.8/23.4 | 4.2/9.1/11.4/12.3 | 2447 | 0 |
-| | after | 2.0/6.4/9.5/11.4 | 1.9/5.7/11.3/12.6 | 16.6/16.8/17.9/22.6 | 2447 | 0 |
-| jquery.js | before | 6.8/10.2/14.5/199.5 | 4.2/9.1/13.2/197.7 | 4.1/9.1/10.9/11.5 | 2154 | 0 |
-| | after | 1.9/7.0/11.8/31.1 | 1.9/6.7/11.3/29.3 | 16.5/16.8/17.4/22.7 | 2147 | 0 |
-| minified.js | before | 7.0/16.8/21.4/21.9 | 5.7/9.0/11.5/12.5 | 7.5/10.0/11.8/11.8 | 0 | 0 |
-| | after | 7.0/16.5/22.5/22.6 | 4.8/8.3/12.0/12.5 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| grammar.json | before | 6.2/9.9/13.1/205.0 | 3.2/8.1/12.1/204.2 | 4.0/8.6/9.7/10.5 | 2286 | 0 |
-| | after | 1.8/7.0/11.5/22.4 | 1.8/6.9/11.1/20.4 | 16.6/16.8/16.9/18.0 | 2282 | 0 |
-| oneline.json | before | 6.7/8.9/13.1/25.3 | 6.2/8.9/12.5/24.0 | 5.0/10.0/11.5/11.5 | 4 | 0 |
-| | after | 6.8/10.1/35.0/47.4 | 6.4/9.1/32.0/45.8 | 16.6/16.8/16.8/16.8 | 4 | 0 |
-| CHANGELOG.md | before | 4.1/16.5/26.4/28.2 | 3.3/8.7/21.8/28.1 | 4.0/9.0/11.6/13.6 | 715 | 0 |
-| | after | 2.9/7.6/13.7/25.4 | 2.4/7.1/11.4/25.2 | 16.6/16.8/22.7/25.5 | 712 | 2 |
-| cascade.html | before | 5.2/9.4/16.3/87.4 | 3.3/8.3/12.1/79.9 | 3.9/8.9/10.4/11.1 | 645 | 0 |
-| | after | 2.2/6.7/10.8/74.4 | 1.9/6.5/11.1/67.5 | 16.6/16.8/17.0/17.6 | 645 | 0 |
-| simdutf.cpp | before | 5.1/12.5/23.0/24.5 | 4.0/9.1/22.5/24.4 | 4.4/8.9/10.8/12.8 | 9874 | 0 |
-| | after | 2.0/6.9/11.0/11.0 | 1.9/6.2/10.8/11.0 | 16.6/16.8/17.2/17.6 | 9872 | 0 |
-| parser.ts | before | 5.4/9.5/13.0/33.0 | 4.5/8.9/12.3/32.0 | 4.5/9.6/11.4/12.0 | 1779 | 0 |
-| | after | 2.0/7.0/10.6/25.8 | 2.0/6.8/11.9/24.8 | 16.5/16.8/17.5/18.3 | 1778 | 0 |
-| fcnal-test.sh | before | 4.1/10.4/14.0/57.5 | 3.3/8.6/12.2/55.3 | 4.0/8.9/10.6/11.6 | 1037 | 0 |
-| | after | 1.9/7.0/10.8/58.8 | 1.9/6.6/10.7/56.6 | 16.6/16.8/17.5/18.2 | 1036 | 0 |
-| data.go | before | 6.9/9.2/14.3/28.0 | 3.9/8.6/12.3/27.8 | 4.3/9.1/11.2/12.1 | 3898 | 0 |
-| | after | 2.1/6.8/10.6/38.6 | 2.0/6.2/11.7/38.1 | 16.6/16.8/17.1/18.2 | 3892 | 0 |
-| guide.typ | before | 6.8/13.2/17.7/17.9 | 4.3/9.0/15.6/17.7 | 4.4/9.2/11.3/13.3 | 119 | 0 |
-| | after | 2.6/7.9/13.3/19.3 | 2.0/7.1/12.5/15.6 | 16.5/16.8/18.3/23.7 | 119 | 0 |
-| unicode.txt | before | 6.9/9.8/15.6/53.9 | 4.1/8.7/11.7/21.0 | 4.4/9.3/11.6/13.1 | 4642 | 0 |
-| | after | 2.1/6.9/17.3/55.2 | 1.9/6.3/11.2/22.0 | 16.6/16.8/17.0/18.4 | 4635 | 0 |
-| big.log | before | 3.8/11.0/15.8/29.8 | 3.3/8.8/12.8/13.9 | 4.1/8.9/10.7/12.4 | 69343 | 0 |
-| | after | 2.4/8.7/23.4/24.8 | 2.4/7.2/12.3/13.9 | 16.5/16.7/17.0/17.8 | 69269 | 0 |
-| words.txt | before | 6.4/8.6/12.4/15.7 | 3.6/8.5/11.4/12.3 | 4.1/9.3/11.2/12.5 | 92633 | 0 |
-| | after | 1.9/6.6/13.8/14.3 | 2.2/7.0/11.9/12.0 | 16.6/16.8/17.3/22.2 | 92628 | 0 |
-| hugelines.txt | before | 6.7/10.0/16.5/177.6 | 6.0/9.3/12.3/177.1 | 7.0/15.7/18.6/18.6 | 12 | 0 |
-| | after | 6.8/10.6/15.2/29.9 | 6.3/10.2/12.1/28.1 | 16.6/17.0/39.0/39.0 | 12 | 1 |
-| minified.js! | before | 7.2/16.1/21.3/220.1 | 5.3/9.0/12.4/218.1 | 6.4/12.2/17.0/17.0 | 0 | 0 |
-| | after | 7.2/17.3/22.3/27.3 | 5.0/8.7/12.4/25.4 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| oneline.json! | before | 6.7/10.5/13.0/17.4 | 5.8/9.4/12.3/12.8 | 4.9/9.5/11.0/11.1 | 0 | 0 |
-| | after | 6.4/10.2/20.0/38.1 | 5.3/8.9/12.7/37.6 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| hugelines.txt! | before | 6.4/9.6/16.0/18.2 | 5.4/8.7/11.7/13.7 | 5.0/9.7/12.0/12.3 | 2 | 0 |
-| | after | 5.6/9.4/13.6/16.5 | 3.6/8.1/11.5/13.4 | 16.6/16.8/17.0/17.2 | 2 | 0 |
-
-#### GUI ReleaseSafe: `panes`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| command-cat | before | 7.1/9.1/14.5/31.5 | 5.9/8.2/12.9/25.9 | 4.5/9.0/14.8/14.8 | 4668 | 0 |
-| | after | 6.7/11.1/13.7/24.6 | 6.2/10.2/12.3/12.7 | 16.6/16.9/22.8/22.8 | 4616 | 0 |
-| command-yes | before | 6.7/9.6/13.0/22.6 | 6.0/8.9/12.6/20.6 | 5.7/9.8/11.9/11.9 | 4855 | 0 |
-| | after | 6.1/9.1/12.7/23.5 | 4.6/8.5/12.5/21.4 | 16.6/16.8/17.4/17.4 | 4924 | 0 |
-| pager | before | 7.0/9.2/12.7/12.9 | 6.1/8.7/12.3/12.6 | 4.4/9.0/13.0/13.0 | 0 | 0 |
-| | after | 6.9/9.7/14.3/14.6 | 5.5/9.2/12.4/14.6 | 16.6/16.8/17.3/17.3 | 0 | 0 |
-| directory | before | 6.4/9.3/12.2/12.3 | 4.4/8.6/12.0/12.2 | 4.4/9.1/11.4/12.2 | 2 | 0 |
-| | after | 5.6/8.7/12.4/12.5 | 3.5/7.6/11.9/12.4 | 16.6/16.8/17.7/18.0 | 2 | 0 |
-| pdf | before | 6.9/16.1/44.7/44.9 | 6.4/13.3/31.5/44.8 | 3.9/9.1/9.5/9.5 | 0 | 0 |
-| | after | 7.0/16.6/38.5/39.2 | 6.4/14.6/34.5/39.1 | 16.6/16.8/17.8/17.8 | 0 | 0 |
-| image | before | 6.9/10.1/24.1/84.3 | 5.9/9.1/12.4/84.0 | 4.6/9.1/10.7/10.7 | 0 | 0 |
-| | after | 6.9/9.0/12.7/14.1 | 6.4/8.9/12.4/28.5 | 16.6/16.8/43.2/43.2 | 0 | 1 |
-| help | before | 6.8/8.8/12.1/12.6 | 3.5/8.2/11.5/12.5 | 4.2/8.8/11.5/12.4 | 69 | 0 |
-| | after | 2.6/7.1/8.0/14.4 | 1.9/6.8/8.0/14.0 | 16.6/16.8/17.1/18.0 | 69 | 0 |
-| changelog | before | 6.3/9.6/12.9/13.0 | 4.0/8.6/12.0/12.9 | 4.2/9.2/11.7/12.7 | 220 | 0 |
-| | after | 1.8/6.8/13.7/14.3 | 1.8/6.4/11.2/14.3 | 16.6/16.8/17.3/18.3 | 220 | 0 |
-| query-typing | before | 7.5/10.6/13.8/13.8 | 1.7/11.7/13.8/14.1 | 2.8/15.4/23.2/25.7 | 0 | 1 |
-| | after | 7.3/9.3/12.4/12.4 | 1.9/7.9/12.3/12.6 | 16.6/17.0/22.9/22.9 | 17 | 0 |
-
-#### GUI ReleaseSafe: `longlines`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| w-held-minified.js-wrap | before | 3.0/7.9/9.4/9.4 | 3.2/8.1/9.4/9.9 | 4.1/9.1/10.5/11.0 | 0 | 0 |
-| | after | 1.8/5.9/7.7/7.7 | 1.7/5.7/7.3/7.6 | 16.6/16.7/16.9/17.3 | 0 | 0 |
-| e-held-minified.js-wrap | before | 3.1/8.3/9.3/9.3 | 3.1/8.0/9.2/11.3 | 4.1/9.0/10.0/12.4 | 0 | 0 |
-| | after | 1.7/5.9/7.2/7.2 | 1.7/5.7/7.2/7.2 | 16.6/16.8/17.7/18.2 | 0 | 0 |
-| l-held-minified.js-wrap | before | 6.6/10.1/11.7/11.7 | 3.3/8.5/11.3/11.6 | 4.2/9.2/10.3/12.0 | 0 | 0 |
-| | after | 1.9/5.9/7.3/7.3 | 1.9/5.9/7.3/7.3 | 16.6/16.8/17.1/17.4 | 0 | 0 |
-| dollar-zero-minified.js-wrap | before | 7.5/8.7/8.7/8.7 | 7.3/8.6/8.6/8.6 | - | 0 | 0 |
-| | after | 7.5/7.7/7.7/7.7 | 3.2/7.7/11.4/11.4 | 16.6/16.9/16.9/16.9 | 0 | 0 |
-| f-t-minified.js-wrap | before | 7.3/7.6/7.8/7.8 | 7.2/7.5/7.7/7.7 | - | 0 | 0 |
-| | after | 7.2/7.5/9.0/9.0 | 4.6/11.2/11.6/12.0 | 14.5/16.7/17.9/18.0 | 0 | 0 |
-| gl-gh-minified.js-wrap | before | 7.4/7.6/7.7/7.7 | 7.3/7.5/7.6/7.6 | - | 0 | 0 |
-| | after | 7.4/8.1/8.4/8.4 | 5.0/11.0/11.4/11.4 | 13.9/16.7/18.7/18.7 | 0 | 0 |
-| insert-end-minified.js-wrap | before | 7.2/11.0/12.7/12.7 | 7.0/10.7/12.6/12.6 | 5.7/9.8/10.6/10.6 | 0 | 0 |
-| | after | 1.8/6.2/8.0/8.0 | 1.8/6.1/10.6/10.9 | 16.6/16.8/17.3/18.1 | 0 | 0 |
-| insert-middle-minified.js-wrap | before | 171.7/177.5/185.4/185.4 | 7.3/174.3/184.4/184.4 | 5.2/9.8/10.3/10.3 | 0 | 0 |
-| | after | 16.8/26.5/28.1/28.1 | 12.7/24.9/27.3/27.3 | 15.9/16.7/16.9/16.9 | 0 | 0 |
-| sweep-L-W-minified.js-wrap | before | 7.1/11.5/212.2/212.2 | 6.9/10.2/14.1/210.2 | 5.5/9.4/12.9/12.9 | 0 | 0 |
-| | after | 7.3/12.1/13.5/13.5 | 6.8/11.2/12.6/12.9 | 16.6/16.9/20.9/20.9 | 0 | 0 |
-| w-held-oneline.json-wrap | before | 3.9/10.1/11.3/11.3 | 4.1/8.6/10.9/11.5 | 4.8/9.6/11.4/12.0 | 0 | 0 |
-| | after | 1.8/6.0/13.3/13.3 | 1.8/5.7/7.3/13.2 | 16.6/16.8/17.0/17.6 | 0 | 0 |
-| e-held-oneline.json-wrap | before | 3.2/7.8/9.0/9.0 | 3.2/8.2/9.4/11.1 | 4.1/9.2/10.6/12.2 | 0 | 0 |
-| | after | 1.8/5.6/7.7/7.7 | 1.8/5.6/7.6/7.6 | 16.6/16.8/16.9/17.0 | 0 | 0 |
-| l-held-oneline.json-wrap | before | 4.4/10.4/13.3/13.3 | 3.2/8.4/11.9/13.2 | 4.0/9.1/11.0/13.4 | 0 | 0 |
-| | after | 1.9/6.1/7.5/7.5 | 1.8/6.0/7.4/7.5 | 16.6/16.8/17.2/17.4 | 0 | 0 |
-| dollar-zero-oneline.json-wrap | before | 7.6/8.0/8.0/8.0 | 7.4/7.7/7.7/7.7 | - | 0 | 0 |
-| | after | 9.0/9.4/9.4/9.4 | 2.3/8.9/10.8/10.8 | 16.5/16.9/17.0/17.0 | 0 | 0 |
-| f-t-oneline.json-wrap | before | 7.4/7.6/9.2/9.2 | 7.3/7.5/9.1/9.1 | - | 0 | 0 |
-| | after | 7.3/8.8/9.3/9.3 | 4.6/10.4/11.7/12.3 | 14.7/16.7/17.0/17.4 | 0 | 0 |
-| gl-gh-oneline.json-wrap | before | 7.5/7.6/7.6/7.6 | 7.3/7.4/7.5/7.5 | - | 0 | 0 |
-| | after | 7.5/7.7/8.6/8.6 | 4.0/10.6/11.5/11.5 | 14.5/16.6/16.9/16.9 | 0 | 0 |
-| insert-end-oneline.json-wrap | before | 7.4/10.8/12.8/12.8 | 7.2/10.6/12.9/12.9 | 7.8/10.3/14.0/14.0 | 0 | 0 |
-| | after | 1.8/6.0/7.4/7.4 | 1.8/5.9/11.1/11.3 | 16.6/16.8/17.0/17.0 | 0 | 0 |
-| insert-middle-oneline.json-wrap | before | 193.1/199.8/207.9/207.9 | 5.2/195.5/206.4/206.4 | 4.0/9.3/13.6/13.6 | 0 | 0 |
-| | after | 21.3/29.0/37.7/37.7 | 18.1/25.4/36.7/36.7 | 16.6/16.9/17.9/17.9 | 0 | 0 |
-| sweep-L-W-oneline.json-wrap | before | 7.2/11.3/31.8/31.8 | 6.8/9.3/12.2/12.5 | 4.4/9.3/10.1/10.5 | 6 | 0 |
-| | after | 7.7/12.1/21.5/21.5 | 6.9/11.0/12.6/21.5 | 16.6/16.8/16.9/16.9 | 6 | 0 |
-| w-held-hugelines.txt-wrap | before | 3.2/8.5/11.8/11.8 | 3.2/8.2/10.2/12.2 | 4.2/9.1/10.5/13.3 | 0 | 0 |
-| | after | 1.8/5.8/10.7/10.7 | 1.8/5.5/7.4/10.6 | 16.6/16.8/17.3/17.9 | 0 | 0 |
-| e-held-hugelines.txt-wrap | before | 5.1/7.3/11.7/11.7 | 4.1/8.5/11.3/11.9 | 4.5/9.5/12.1/12.9 | 0 | 0 |
-| | after | 3.7/7.3/12.6/12.6 | 2.4/7.1/12.5/12.5 | 16.6/16.8/18.1/18.1 | 0 | 0 |
-| l-held-hugelines.txt-wrap | before | 7.3/11.6/13.0/13.0 | 7.1/11.4/12.9/12.9 | - | 0 | 0 |
-| | after | 7.2/11.4/13.4/13.4 | 7.1/11.2/13.2/13.2 | - | 0 | 0 |
-| dollar-zero-hugelines.txt-wrap | before | 7.3/7.4/7.4/7.4 | 7.1/7.2/7.2/7.2 | - | 0 | 0 |
-| | after | 7.3/7.3/7.3/7.3 | 6.0/10.4/11.0/11.0 | 15.6/16.6/16.7/16.7 | 0 | 0 |
-| f-t-hugelines.txt-wrap | before | 7.2/7.5/7.6/7.6 | 7.1/7.3/7.5/7.5 | - | 0 | 0 |
-| | after | 7.2/7.4/9.2/9.2 | 4.4/10.9/11.7/11.9 | 14.6/16.7/16.9/16.9 | 0 | 0 |
-| gl-gh-hugelines.txt-wrap | before | 7.4/7.6/7.6/7.6 | 7.2/7.4/7.5/7.5 | - | 0 | 0 |
-| | after | 7.4/7.9/10.8/10.8 | 4.6/10.6/11.2/11.2 | 14.8/16.8/17.7/17.7 | 0 | 0 |
-| insert-end-hugelines.txt-wrap | before | 7.4/10.6/12.1/12.1 | 7.2/10.5/12.0/12.0 | - | 0 | 0 |
-| | after | 2.1/7.4/8.0/8.0 | 2.2/7.3/10.7/10.8 | 16.6/16.8/16.9/17.0 | 0 | 0 |
-| insert-middle-hugelines.txt-wrap | before | 7.9/10.7/13.0/13.0 | 7.2/10.2/12.1/12.1 | - | 0 | 0 |
-| | after | 7.9/12.9/13.5/13.5 | 7.2/12.2/12.4/12.4 | - | 0 | 0 |
-| sweep-L-W-hugelines.txt-wrap | before | 7.8/12.3/14.9/14.9 | 7.0/11.5/13.8/14.8 | 5.8/10.8/19.9/22.0 | 0 | 0 |
-| | after | 7.7/11.9/13.1/13.1 | 7.1/12.1/13.6/14.6 | 16.7/16.9/20.1/20.1 | 0 | 0 |
-| w-held-minified.js-nowrap | before | 7.1/16.3/28.5/28.5 | 3.5/8.2/10.2/13.7 | 4.5/9.2/10.9/11.3 | 0 | 0 |
-| | after | 2.7/15.9/22.6/22.6 | 2.1/3.9/12.7/12.7 | 16.6/16.8/17.9/17.9 | 0 | 0 |
-| e-held-minified.js-nowrap | before | 15.5/19.6/24.7/24.7 | 4.4/8.4/10.1/10.1 | - | 0 | 0 |
-| | after | 15.2/18.8/23.0/23.0 | 4.1/8.2/9.4/9.4 | - | 0 | 0 |
-| l-held-minified.js-nowrap | before | 15.7/20.7/27.7/27.7 | 4.3/8.4/11.3/11.3 | - | 0 | 0 |
-| | after | 15.3/19.6/24.2/24.2 | 3.9/8.9/9.9/9.9 | - | 0 | 0 |
-| dollar-zero-minified.js-nowrap | before | 9.2/10.1/10.1/10.1 | 9.0/9.9/9.9/9.9 | - | 0 | 0 |
-| | after | 9.3/10.4/10.4/10.4 | 3.7/9.1/10.2/10.2 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| f-t-minified.js-nowrap | before | 8.9/9.1/9.9/9.9 | 8.7/9.0/9.8/9.8 | - | 0 | 0 |
-| | after | 8.7/9.0/9.7/9.7 | 3.3/8.8/10.7/11.0 | 16.0/16.7/17.9/18.3 | 0 | 0 |
-| gl-gh-minified.js-nowrap | before | 9.1/9.2/10.4/10.4 | 8.9/9.1/10.3/10.3 | - | 0 | 0 |
-| | after | 8.9/9.2/9.3/9.3 | 2.8/8.9/9.7/9.7 | 16.1/16.8/18.2/18.2 | 0 | 0 |
-| insert-end-minified.js-nowrap | before | 8.8/12.1/13.8/13.8 | 8.5/11.0/13.7/13.7 | 4.5/8.9/11.9/11.9 | 0 | 0 |
-| | after | 2.1/7.3/9.0/9.0 | 2.2/7.1/9.1/9.4 | 16.6/16.8/16.9/17.1 | 0 | 0 |
-| insert-middle-minified.js-nowrap | before | 185.1/192.3/201.4/201.4 | 3.4/172.0/182.2/182.2 | 4.0/8.8/9.4/9.4 | 0 | 0 |
-| | after | 16.1/26.7/29.1/29.1 | 8.5/15.2/18.4/18.4 | 16.6/16.9/17.2/17.2 | 0 | 0 |
-| sweep-L-W-minified.js-nowrap | before | 11.2/19.6/26.4/26.4 | 7.0/10.2/13.9/14.2 | 5.6/9.6/11.6/12.2 | 0 | 0 |
-| | after | 11.9/20.0/26.9/26.9 | 3.9/10.9/13.9/26.2 | 16.6/16.8/17.1/17.1 | 1 | 0 |
-| w-held-oneline.json-nowrap | before | 8.8/16.9/21.6/21.6 | 3.3/7.9/8.9/13.2 | 4.2/8.9/9.9/10.6 | 0 | 0 |
-| | after | 8.1/20.2/23.4/23.4 | 2.3/5.8/9.3/9.3 | 16.5/16.7/19.7/19.7 | 0 | 0 |
-| e-held-oneline.json-nowrap | before | 15.8/20.7/24.4/24.4 | 4.5/8.0/9.4/9.4 | - | 0 | 0 |
-| | after | 15.7/20.7/24.5/24.5 | 3.8/6.3/8.5/8.5 | - | 0 | 0 |
-| l-held-oneline.json-nowrap | before | 15.7/19.1/29.3/29.3 | 3.6/7.4/9.1/9.1 | - | 0 | 0 |
-| | after | 15.8/20.5/25.1/25.1 | 3.8/7.4/10.1/10.1 | - | 0 | 0 |
-| dollar-zero-oneline.json-nowrap | before | 9.9/9.9/9.9/9.9 | 9.6/9.7/9.7/9.7 | - | 0 | 0 |
-| | after | 9.8/10.2/10.2/10.2 | 4.5/9.6/12.6/12.6 | 16.4/16.8/17.8/17.8 | 0 | 0 |
-| f-t-oneline.json-nowrap | before | 9.7/9.8/10.0/10.0 | 9.6/9.7/9.9/9.9 | - | 0 | 0 |
-| | after | 9.4/9.6/10.1/10.1 | 3.2/9.4/13.1/13.2 | 16.1/16.8/18.2/18.6 | 0 | 0 |
-| gl-gh-oneline.json-nowrap | before | 9.6/9.9/10.0/10.0 | 9.5/9.7/9.8/9.8 | - | 0 | 0 |
-| | after | 9.6/10.3/10.4/10.4 | 2.7/9.4/10.2/10.2 | 16.5/16.8/22.1/22.1 | 0 | 0 |
-| insert-end-oneline.json-nowrap | before | 9.5/13.3/15.2/15.2 | 9.2/11.7/15.1/15.1 | 5.2/9.5/12.7/12.7 | 0 | 0 |
-| | after | 2.3/7.3/10.9/10.9 | 2.3/7.0/9.9/10.8 | 16.6/16.8/17.0/17.8 | 0 | 0 |
-| insert-middle-oneline.json-nowrap | before | 209.8/216.8/218.7/218.7 | 3.0/195.5/196.9/196.9 | 4.0/9.0/9.4/9.4 | 0 | 0 |
-| | after | 23.1/29.0/35.4/35.4 | 10.3/21.1/28.7/28.7 | 16.6/16.8/17.9/17.9 | 0 | 0 |
-| sweep-L-W-oneline.json-nowrap | before | 10.3/14.9/24.9/24.9 | 6.6/11.0/14.2/14.8 | 4.4/9.3/14.3/14.4 | 0 | 0 |
-| | after | 10.0/15.6/21.7/21.7 | 4.9/11.6/15.0/15.5 | 16.6/16.8/18.2/18.2 | 0 | 0 |
-| w-held-hugelines.txt-nowrap | before | 12.8/18.8/22.8/22.8 | 4.5/8.1/11.5/12.7 | 4.2/8.9/9.9/11.2 | 0 | 0 |
-| | after | 9.8/18.4/20.3/20.3 | 2.4/7.9/11.2/11.2 | 16.5/16.8/18.2/18.2 | 0 | 0 |
-| e-held-hugelines.txt-nowrap | before | 15.7/20.0/20.9/20.9 | 6.0/9.7/11.9/11.9 | - | 0 | 0 |
-| | after | 14.9/19.2/20.8/20.8 | 5.6/9.7/10.7/10.7 | - | 0 | 0 |
-| l-held-hugelines.txt-nowrap | before | 15.4/20.1/25.1/25.1 | 5.3/10.0/13.7/13.7 | - | 0 | 0 |
-| | after | 15.6/19.4/21.8/21.8 | 5.2/9.2/11.3/11.3 | - | 0 | 0 |
-| dollar-zero-hugelines.txt-nowrap | before | 9.7/9.8/9.8/9.8 | 9.5/9.7/9.7/9.7 | - | 0 | 0 |
-| | after | 9.4/9.4/9.4/9.4 | 3.1/8.5/9.3/9.3 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| f-t-hugelines.txt-nowrap | before | 9.4/10.4/11.4/11.4 | 9.3/10.3/11.2/11.2 | - | 0 | 0 |
-| | after | 9.2/9.4/9.9/9.9 | 2.8/9.0/9.4/9.8 | 16.3/16.7/16.8/17.7 | 0 | 0 |
-| gl-gh-hugelines.txt-nowrap | before | 9.4/9.9/10.1/10.1 | 9.3/9.7/9.9/9.9 | - | 0 | 0 |
-| | after | 9.3/9.9/10.9/10.9 | 3.0/9.2/10.7/10.7 | 16.3/16.7/17.0/17.0 | 0 | 0 |
-| insert-end-hugelines.txt-nowrap | before | 9.6/13.7/15.1/15.1 | 9.0/12.6/14.9/14.9 | 6.0/9.3/10.3/10.3 | 0 | 0 |
-| | after | 2.3/7.1/9.4/9.4 | 2.3/6.8/9.2/9.2 | 16.6/16.7/16.8/16.8 | 0 | 0 |
-| insert-middle-hugelines.txt-nowrap | before | 18.4/22.5/26.1/26.1 | 4.7/8.8/10.6/10.6 | 5.0/9.2/10.0/10.0 | 0 | 0 |
-| | after | 17.0/19.9/23.0/23.0 | 5.9/8.6/12.4/12.4 | 16.6/16.9/17.1/17.1 | 0 | 0 |
-| sweep-L-W-hugelines.txt-nowrap | before | 11.9/18.7/24.0/24.0 | 6.2/9.1/14.4/14.5 | 4.2/9.0/9.8/9.8 | 0 | 0 |
-| | after | 10.2/18.1/22.5/22.5 | 7.0/11.1/14.1/14.5 | 16.6/16.9/17.1/17.1 | 0 | 0 |
-
-#### GUI Debug: `scroll`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| notches | before | 8.2/14.4/14.4/14.4 | 3.4/7.8/9.3/14.3 | 4.4/8.6/10.1/10.4 | 7 | 0 |
-| | after | 3.5/19.8/19.8/19.8 | 3.0/3.5/19.8/19.8 | 16.7/17.0/17.6/17.6 | 7 | 0 |
-| spin | before | 3.6/8.8/15.8/15.8 | 3.5/8.6/14.0/15.7 | 4.2/8.9/12.7/14.1 | 35 | 0 |
-| | after | 4.3/8.4/20.4/20.4 | 4.3/7.7/20.4/20.4 | 10.1/16.7/17.1/17.1 | 34 | 0 |
-| pages | before | 15.4/25.7/40.2/40.2 | 15.0/25.2/32.8/32.8 | - | 3787 | 0 |
-| | after | 15.0/22.0/29.7/29.7 | 3.0/7.1/17.6/21.3 | 16.6/16.8/17.3/18.0 | 3607 | 0 |
-| retarget | before | 16.7/33.3/33.3/33.3 | 16.3/32.9/32.9/32.9 | - | 150 | 0 |
-| | after | 9.6/23.7/23.7/23.7 | 3.0/6.2/23.2/23.2 | 16.6/16.8/16.8/16.8 | 92 | 0 |
-| cursor | before | 12.2/15.6/16.2/16.2 | 6.5/11.9/15.4/15.5 | 5.6/9.7/12.5/15.0 | 0 | 0 |
-| | after | 3.8/14.9/18.4/18.4 | 3.6/6.3/17.1/17.7 | 16.6/16.8/17.2/18.0 | 0 | 0 |
-
-#### GUI Debug: `stress`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| spin | before | 3.6/8.9/25.4/33.7 | 3.6/8.8/17.2/33.7 | 4.0/9.3/16.7/33.7 | 188 | 3 |
-| | after | 3.7/7.9/13.1/23.3 | 3.6/7.3/11.9/23.2 | 8.2/13.1/16.7/16.8 | 175 | 0 |
-| held-ctrl-d | before | 8.3/33.2/45.9/45.9 | 8.1/32.8/45.5/45.5 | - | 539 | 0 |
-| | after | 4.3/8.5/24.4/24.4 | 3.7/7.5/12.6/24.0 | 16.6/17.2/18.4/23.1 | 508 | 0 |
-| held-j | before | 11.9/15.6/30.7/30.7 | 11.5/15.2/30.3/30.3 | - | 35 | 0 |
-| | after | 3.6/8.3/25.0/25.0 | 3.3/7.3/12.2/24.7 | 16.6/16.8/17.9/22.4 | 33 | 0 |
-| held-pagedown | before | 9.7/38.3/63.4/63.4 | 9.7/38.0/63.1/63.1 | - | 758 | 0 |
-| | after | 4.8/13.1/111.1/111.1 | 4.6/8.7/82.3/111.1 | 16.6/17.5/83.3/111.2 | 703 | 8 |
-| far | before | 15.2/56.1/65.8/65.8 | 14.8/32.4/35.9/35.9 | - | 64673 | 0 |
-| | after | 15.3/30.0/39.0/39.0 | 3.2/8.7/22.6/23.3 | 16.6/16.8/17.1/17.1 | 60139 | 0 |
-
-#### GUI Debug: `jumps`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| counted-G-big | before | 13.0/41.0/46.9/46.9 | 6.9/20.5/40.0/40.0 | 4.6/9.2/12.0/12.0 | 9607 | 0 |
-| | after | 12.4/26.7/32.5/32.5 | 3.0/11.1/19.3/24.9 | 16.6/16.8/17.0/17.0 | 9013 | 0 |
-| pages-up-big | before | 18.7/43.6/56.7/56.7 | 18.3/43.2/56.3/56.3 | - | 1784 | 0 |
-| | after | 20.1/28.3/46.7/46.7 | 5.0/8.7/27.9/46.2 | 16.6/16.8/22.3/22.4 | 1709 | 0 |
-| search-n-big | before | 12.7/14.8/33.3/33.3 | 4.3/9.3/14.2/27.8 | 4.6/9.3/18.2/19.2 | 1254 | 0 |
-| | after | 11.9/14.5/24.7/24.7 | 4.3/9.5/14.0/14.0 | 16.6/16.8/22.7/24.4 | 1255 | 0 |
-| rail-big | before | 8.2/37.9/50.1/50.1 | 3.5/7.9/37.0/49.3 | 4.4/8.7/10.4/10.9 | 3032 | 0 |
-| | after | 9.0/35.6/38.7/38.7 | 3.2/7.1/34.9/38.0 | 16.6/16.8/22.3/22.6 | 3030 | 0 |
-| query-ctrl-n-big | before | 22.2/39.4/40.3/40.3 | 7.2/21.8/38.3/38.9 | 7.1/15.5/31.1/31.1 | 628 | 2 |
-| | after | 7.0/22.4/28.3/28.3 | 3.6/8.8/18.9/19.4 | 16.6/16.8/26.4/27.4 | 727 | 3 |
-| star-big | before | 12.8/36.9/36.9/36.9 | 7.2/12.3/19.6/19.6 | 8.2/10.1/17.2/17.2 | 853 | 0 |
-| | after | 11.6/44.7/44.7/44.7 | 3.1/11.0/21.8/21.8 | 16.6/16.9/17.0/17.0 | 853 | 0 |
-| jumplist-big | before | 33.4/41.0/41.4/41.4 | 8.1/32.9/41.0/41.0 | 15.9/20.3/21.2/21.2 | 4759 | 0 |
-| | after | 17.9/23.4/23.5/23.5 | 3.0/12.4/23.0/23.0 | 16.6/16.8/18.4/20.1 | 7394 | 0 |
-| insert-big | before | 9.3/14.9/29.9/247.9 | 6.5/13.5/23.3/247.4 | 11.8/23.0/31.6/35.5 | 42 | 12 |
-| | after | 10.3/17.0/30.5/280.9 | 3.4/11.4/22.9/280.4 | 16.6/19.1/26.5/33.4 | 58 | 13 |
-| counted-G-small | before | 13.4/26.4/26.7/26.7 | 12.6/25.0/26.1/26.1 | - | 384 | 0 |
-| | after | 11.4/22.9/29.3/29.3 | 3.9/9.7/27.8/27.8 | 16.6/16.8/18.3/18.3 | 363 | 0 |
-| pages-up-small | before | 21.8/34.4/36.4/36.4 | 21.1/33.6/35.6/35.6 | - | 78 | 0 |
-| | after | 23.0/35.3/35.9/35.9 | 3.1/7.7/34.6/35.2 | 16.6/16.8/17.4/17.9 | 75 | 0 |
-| search-n-small | before | 15.2/20.5/25.3/25.3 | 3.2/14.4/20.2/24.5 | 4.0/9.0/31.3/31.3 | 44 | 1 |
-| | after | 16.2/17.5/21.1/21.1 | 3.0/16.0/21.2/21.2 | 16.6/16.9/31.3/31.3 | 45 | 1 |
-| rail-small | before | 14.3/16.1/18.2/18.2 | 14.1/15.1/18.2/18.2 | - | 71 | 0 |
-| | after | 14.5/17.5/21.8/21.8 | 6.8/16.0/20.3/20.3 | 16.6/16.8/17.0/17.0 | 72 | 0 |
-| query-ctrl-n-small | before | 15.0/17.0/19.5/19.5 | 4.2/14.3/17.4/17.9 | 4.8/9.1/19.0/19.0 | 91 | 0 |
-| | after | 12.8/17.4/17.4/17.4 | 3.4/13.6/16.7/16.7 | 16.6/16.8/25.3/25.3 | 94 | 1 |
-| star-small | before | 15.9/28.3/28.3/28.3 | 6.5/14.1/27.5/27.5 | 4.7/8.8/13.5/13.5 | 166 | 0 |
-| | after | 17.3/19.5/19.5/19.5 | 3.0/12.1/18.5/18.5 | 16.6/16.8/17.1/17.1 | 155 | 0 |
-| look-small | before | 26.1/26.1/26.1/26.1 | 24.7/24.7/24.7/24.7 | - | 0 | 0 |
-| | after | 15.4/20.6/20.6/20.6 | 7.7/14.3/20.4/20.4 | 16.7/16.8/16.9/16.9 | 81 | 0 |
-| jumplist-small | before | 16.3/28.9/29.2/29.2 | 9.8/25.2/28.3/28.3 | 16.7/18.8/21.2/21.2 | 81 | 0 |
-| | after | 17.1/21.5/27.1/27.1 | 4.7/12.1/20.8/26.3 | 16.6/17.0/18.8/19.7 | 87 | 0 |
-| insert-small | before | 13.1/19.4/32.8/41.8 | 7.7/17.0/29.2/41.5 | 13.0/24.1/34.0/38.9 | 27 | 13 |
-| | after | 9.6/20.6/28.4/61.6 | 4.9/14.0/23.4/60.6 | 16.4/18.5/32.4/73.9 | 37 | 35 |
-| look-new-pane | before | 14.9/14.9/14.9/14.9 | 8.2/8.7/8.8/8.8 | 16.8/17.3/17.9/17.9 | 0 | 0 |
-| | after | 24.9/24.9/24.9/24.9 | 18.4/18.4/18.4/18.4 | - | 0 | 0 |
-
-#### GUI Debug: `kinds`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| generated-parser.c | before | 7.3/22.4/29.5/103.2 | 3.6/11.7/24.9/86.5 | 4.2/8.7/10.1/13.0 | 3787 | 0 |
-| | after | 3.9/7.9/26.6/39.3 | 3.2/6.8/17.6/31.5 | 16.5/16.9/18.4/18.8 | 3789 | 0 |
-| commands.rs | before | 7.4/21.6/32.5/33.8 | 3.8/11.8/30.0/33.4 | 4.4/8.9/10.8/15.1 | 1694 | 0 |
-| | after | 4.3/8.7/23.0/35.4 | 3.8/8.0/12.8/18.8 | 16.5/17.2/18.5/23.3 | 1690 | 0 |
-| tables.py | before | 6.8/25.3/32.2/77.5 | 3.6/12.0/29.5/69.8 | 4.2/8.7/14.5/16.6 | 2444 | 0 |
-| | after | 3.9/8.9/25.5/26.7 | 3.2/7.8/17.2/24.8 | 16.5/16.9/17.9/23.1 | 2442 | 0 |
-| jquery.js | before | 7.6/18.8/28.0/1979.3 | 4.3/12.1/23.3/1958.4 | 4.2/8.7/10.6/12.6 | 2217 | 0 |
-| | after | 3.8/8.4/27.9/119.7 | 3.2/7.1/14.6/98.3 | 16.5/16.9/17.6/17.8 | 2149 | 0 |
-| minified.js | before | 8.4/18.7/29.4/34.0 | 4.1/12.4/17.2/17.5 | 4.4/8.4/9.1/9.1 | 0 | 0 |
-| | after | 7.7/19.3/28.9/32.5 | 4.3/13.1/16.6/18.4 | 16.6/16.8/17.2/17.2 | 0 | 0 |
-| grammar.json | before | 7.8/17.3/23.9/1870.4 | 3.9/12.2/21.5/1850.4 | 4.4/8.7/10.1/17.2 | 2351 | 0 |
-| | after | 3.5/8.4/26.5/84.4 | 3.2/7.3/14.2/61.4 | 16.5/16.8/17.4/18.4 | 2279 | 0 |
-| oneline.json | before | 7.2/16.2/45.4/92.1 | 6.0/13.0/27.4/76.5 | 4.5/9.1/45.4/45.4 | 4 | 1 |
-| | after | 7.8/14.1/180.6/189.0 | 6.5/13.1/78.9/188.1 | 16.6/16.8/16.9/16.9 | 4 | 0 |
-| CHANGELOG.md | before | 10.7/58.2/72.2/72.5 | 4.7/12.8/66.5/72.5 | 4.4/8.9/58.8/72.5 | 715 | 7 |
-| | after | 7.2/60.5/74.0/75.3 | 4.7/17.0/70.5/75.1 | 16.6/18.1/73.5/75.4 | 713 | 31 |
-| cascade.html | before | 8.5/17.8/25.9/119.6 | 4.0/13.8/19.6/83.9 | 4.2/8.8/10.6/11.3 | 643 | 0 |
-| | after | 3.9/8.6/19.7/72.3 | 3.3/7.0/18.1/36.4 | 16.5/16.8/18.8/22.8 | 642 | 0 |
-| simdutf.cpp | before | 6.4/29.0/58.8/65.4 | 3.3/11.2/52.7/64.7 | 4.2/8.6/9.6/12.8 | 9852 | 0 |
-| | after | 4.0/12.9/113.9/115.2 | 3.8/7.9/55.9/114.8 | 16.5/16.8/56.5/115.3 | 9862 | 9 |
-| parser.ts | before | 8.6/17.7/25.6/27.0 | 3.7/13.4/19.8/26.0 | 4.2/8.8/10.4/13.8 | 1776 | 0 |
-| | after | 3.7/8.8/21.8/22.2 | 3.1/7.0/16.2/21.1 | 16.5/16.9/18.9/22.6 | 1775 | 0 |
-| fcnal-test.sh | before | 8.1/17.7/27.8/30.8 | 4.0/11.9/21.7/27.1 | 4.2/8.8/11.1/14.0 | 1034 | 0 |
-| | after | 4.0/8.7/18.6/82.3 | 3.5/7.3/14.4/62.3 | 16.6/16.8/18.1/23.2 | 1034 | 0 |
-| data.go | before | 8.6/18.7/24.3/42.6 | 3.8/13.6/21.5/40.0 | 4.2/8.8/12.8/19.1 | 3897 | 0 |
-| | after | 4.2/9.7/19.1/42.0 | 3.4/7.4/17.0/39.4 | 16.5/16.9/22.8/24.1 | 3898 | 0 |
-| guide.typ | before | 7.8/31.1/43.8/52.2 | 4.0/11.4/37.3/50.9 | 4.4/9.1/33.2/37.4 | 117 | 6 |
-| | after | 4.9/24.8/46.6/54.8 | 3.9/11.3/37.1/53.5 | 16.5/16.8/40.5/46.7 | 117 | 21 |
-| unicode.txt | before | 8.7/19.2/92.4/435.3 | 4.2/10.3/17.4/146.9 | 4.4/8.9/10.2/11.5 | 4510 | 0 |
-| | after | 4.0/9.2/92.9/438.8 | 3.2/6.8/16.3/146.3 | 16.5/16.8/17.7/18.2 | 4505 | 0 |
-| big.log | before | 8.3/17.6/61.1/188.2 | 4.2/12.7/21.5/25.7 | 4.3/8.7/9.9/14.9 | 69103 | 0 |
-| | after | 6.6/14.8/73.4/201.2 | 4.8/11.2/15.8/24.4 | 16.5/17.0/24.5/28.9 | 69008 | 3 |
-| words.txt | before | 7.9/15.7/22.7/27.6 | 3.3/11.4/16.4/17.7 | 4.1/8.7/10.2/16.5 | 92552 | 0 |
-| | after | 3.3/8.5/25.1/47.8 | 3.0/7.1/15.1/17.6 | 16.5/16.8/17.7/19.0 | 92274 | 0 |
-| hugelines.txt | before | 8.9/15.3/34.3/1973.2 | 7.0/13.3/16.5/1963.1 | 5.3/16.7/25.9/25.9 | 12 | 1 |
-| | after | 7.9/15.8/33.0/96.5 | 6.2/13.8/17.4/90.4 | 16.7/18.9/22.1/22.1 | 12 | 0 |
-| minified.js! | before | 9.1/21.0/43.3/1875.3 | 5.8/15.0/24.5/1852.3 | 5.0/11.7/17.4/17.4 | 0 | 0 |
-| | after | 8.4/21.5/46.2/87.9 | 5.0/14.6/21.4/64.6 | 16.6/16.8/17.0/17.0 | 0 | 0 |
-| oneline.json! | before | 7.8/18.2/47.5/48.0 | 6.6/12.7/16.8/48.0 | 7.5/9.3/48.1/48.1 | 0 | 1 |
-| | after | 7.6/17.1/72.2/193.8 | 7.0/12.9/21.4/182.3 | 16.6/16.8/22.5/22.5 | 0 | 0 |
-| hugelines.txt! | before | 8.1/17.8/33.0/41.8 | 6.1/11.4/16.6/18.4 | 6.3/10.2/11.8/12.7 | 2 | 0 |
-| | after | 6.6/18.7/32.3/46.7 | 5.6/11.3/14.9/22.2 | 16.6/16.9/23.9/26.1 | 2 | 1 |
-
-#### GUI Debug: `panes`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| command-cat | before | 8.9/19.7/34.8/35.0 | 4.6/9.1/15.7/27.5 | 7.0/37.5/58.1/58.1 | 4509 | 5 |
-| | after | 7.8/19.3/36.5/45.4 | 4.1/9.2/17.9/30.8 | 16.6/37.9/53.8/53.8 | 4501 | 6 |
-| command-yes | before | 8.0/17.0/27.5/34.5 | 6.6/14.5/17.5/24.1 | 4.4/34.9/44.9/44.9 | 4616 | 7 |
-| | after | 7.6/15.7/34.5/35.0 | 6.4/13.6/17.8/22.8 | 16.6/34.5/58.8/58.8 | 4545 | 7 |
-| pager | before | 7.5/14.6/18.6/20.2 | 6.5/13.7/17.1/18.0 | 4.3/8.7/46.2/46.2 | 0 | 1 |
-| | after | 8.6/16.2/19.7/19.8 | 7.6/14.8/19.0/19.2 | 16.6/16.9/47.3/47.3 | 0 | 1 |
-| directory | before | 7.6/15.3/18.7/19.2 | 5.0/12.6/17.7/18.6 | 4.7/9.2/14.5/16.6 | 2 | 0 |
-| | after | 5.4/14.4/18.6/24.6 | 3.9/12.9/17.3/21.6 | 16.6/16.8/17.1/17.1 | 2 | 0 |
-| pdf | before | 7.7/57.3/138.0/190.3 | 6.7/13.8/113.8/174.4 | 4.3/8.9/13.5/13.5 | 0 | 0 |
-| | after | 8.0/59.7/155.2/161.8 | 8.1/41.0/134.9/161.5 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| image | before | 7.5/16.5/128.7/304.3 | 6.8/15.2/18.7/301.1 | 5.4/9.1/10.4/10.4 | 0 | 0 |
-| | after | 7.9/14.2/17.2/18.3 | 6.8/13.9/17.0/133.0 | 16.7/17.0/146.3/146.3 | 0 | 1 |
-| help | before | 7.8/14.4/18.8/19.8 | 5.2/12.4/17.3/18.2 | 4.7/8.8/12.2/16.3 | 69 | 0 |
-| | after | 3.3/12.7/17.2/17.4 | 3.0/7.9/16.1/17.2 | 16.5/16.8/17.5/18.7 | 69 | 0 |
-| changelog | before | 8.1/16.7/19.3/20.2 | 3.8/12.9/18.2/19.5 | 4.3/8.9/10.6/14.2 | 220 | 0 |
-| | after | 3.9/8.7/16.2/25.1 | 3.7/7.7/14.6/23.7 | 16.6/16.8/17.4/22.5 | 220 | 0 |
-| query-typing | before | 13.1/16.8/41.6/41.6 | 6.5/12.4/38.2/102.2 | 7.6/17.3/27.9/108.3 | 0 | 2 |
-| | after | 13.4/50.3/266.2/266.2 | 3.1/13.0/262.6/262.6 | 16.6/17.0/62.1/62.1 | 17 | 2 |
-
-#### GUI Debug: `longlines`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| w-held-minified.js-wrap | before | 3.6/8.6/19.8/19.8 | 3.3/8.2/9.1/19.0 | 4.2/9.0/9.7/10.4 | 0 | 0 |
-| | after | 3.5/7.4/12.3/12.3 | 3.2/7.2/10.8/11.6 | 16.6/16.9/17.4/17.4 | 0 | 0 |
-| e-held-minified.js-wrap | before | 3.7/11.5/15.0/15.0 | 3.3/8.1/13.9/14.4 | 4.2/9.0/10.3/11.4 | 0 | 0 |
-| | after | 3.3/7.3/8.9/8.9 | 3.1/6.9/8.5/8.8 | 16.6/16.8/17.0/17.1 | 0 | 0 |
-| l-held-minified.js-wrap | before | 8.1/17.0/19.1/19.1 | 4.6/10.3/17.6/18.4 | 4.7/9.2/11.6/13.4 | 0 | 0 |
-| | after | 3.2/7.4/8.6/8.6 | 3.1/7.2/8.5/8.5 | 16.6/16.7/17.5/17.7 | 0 | 0 |
-| dollar-zero-minified.js-wrap | before | 7.3/7.4/7.4/7.4 | 6.5/6.6/6.6/6.6 | - | 0 | 0 |
-| | after | 14.6/14.7/14.7/14.7 | 2.8/9.0/13.7/13.7 | 16.6/16.8/17.4/17.4 | 0 | 0 |
-| f-t-minified.js-wrap | before | 14.3/16.7/16.9/16.9 | 13.6/16.1/16.2/16.2 | - | 0 | 0 |
-| | after | 14.4/20.7/20.7/20.7 | 3.0/13.8/20.1/20.1 | 16.4/16.8/17.6/17.7 | 0 | 0 |
-| gl-gh-minified.js-wrap | before | 14.0/16.4/16.5/16.5 | 13.3/15.6/15.9/15.9 | - | 0 | 0 |
-| | after | 13.8/20.2/20.4/20.4 | 3.2/13.1/19.7/19.7 | 16.5/16.7/17.3/17.3 | 0 | 0 |
-| insert-end-minified.js-wrap | before | 14.9/18.5/20.1/20.1 | 12.1/17.1/19.5/19.5 | 7.1/9.8/10.9/10.9 | 0 | 0 |
-| | after | 3.3/8.6/14.6/14.6 | 3.1/8.3/13.6/13.8 | 16.5/16.8/17.3/18.2 | 0 | 0 |
-| insert-middle-minified.js-wrap | before | 14.1/1994.4/1994.4/1994.4 | 6.9/13.5/1963.0/1963.0 | 6.7/11.1/11.5/11.5 | 0 | 0 |
-| | after | 82.9/83.5/95.1/95.1 | 79.0/81.3/84.2/84.2 | 16.4/16.8/17.0/17.0 | 0 | 0 |
-| sweep-L-W-minified.js-wrap | before | 13.0/19.3/1858.0/1858.0 | 3.6/12.4/18.7/1848.9 | 4.4/8.7/10.0/10.0 | 0 | 0 |
-| | after | 13.4/17.0/71.2/71.2 | 12.4/15.5/60.7/84.4 | 16.6/16.8/84.5/84.5 | 0 | 1 |
-| w-held-oneline.json-wrap | before | 3.8/8.3/9.3/9.3 | 3.3/7.8/8.6/9.1 | 4.1/8.8/9.3/9.8 | 0 | 0 |
-| | after | 3.7/8.1/19.4/19.4 | 3.4/7.4/12.6/18.4 | 16.6/16.9/17.5/22.5 | 0 | 0 |
-| e-held-oneline.json-wrap | before | 3.7/8.1/11.7/11.7 | 3.3/7.8/8.4/11.3 | 4.2/8.8/9.3/9.8 | 0 | 0 |
-| | after | 3.6/7.2/9.1/9.1 | 3.4/7.0/8.5/8.9 | 16.6/16.9/17.1/17.9 | 0 | 0 |
-| l-held-oneline.json-wrap | before | 8.1/18.0/21.3/21.3 | 3.7/8.6/18.9/20.5 | 4.3/8.9/10.8/13.0 | 0 | 0 |
-| | after | 3.7/7.9/9.2/9.2 | 3.4/7.4/9.0/9.0 | 16.7/16.9/17.6/22.5 | 0 | 0 |
-| dollar-zero-oneline.json-wrap | before | 7.6/12.9/12.9/12.9 | 6.8/12.0/12.0/12.0 | - | 0 | 0 |
-| | after | 18.1/18.7/18.7/18.7 | 2.9/16.3/17.7/17.7 | 16.7/16.8/16.9/16.9 | 0 | 0 |
-| f-t-oneline.json-wrap | before | 14.2/17.3/17.6/17.6 | 13.4/16.4/16.7/16.7 | - | 0 | 0 |
-| | after | 18.8/20.1/20.3/20.3 | 5.1/18.0/19.4/19.5 | 15.5/16.8/16.9/17.0 | 0 | 0 |
-| gl-gh-oneline.json-wrap | before | 13.8/16.8/17.0/17.0 | 12.9/15.9/16.1/16.1 | - | 0 | 0 |
-| | after | 19.8/20.4/20.6/20.6 | 6.7/18.1/19.7/19.7 | 15.4/16.8/17.2/17.2 | 0 | 0 |
-| insert-end-oneline.json-wrap | before | 15.4/18.1/21.5/21.5 | 13.4/17.2/20.7/20.7 | 8.6/14.1/20.7/20.7 | 0 | 0 |
-| | after | 3.3/8.2/20.3/20.3 | 3.1/8.1/17.5/19.4 | 16.6/16.8/18.0/18.2 | 0 | 0 |
-| insert-middle-oneline.json-wrap | before | 15.1/1887.6/1887.6/1887.6 | 7.1/18.2/1844.0/1844.0 | 7.8/14.6/17.4/17.4 | 0 | 0 |
-| | after | 82.1/177.2/182.1/182.1 | 14.4/171.6/176.3/176.3 | 16.6/16.8/16.8/16.8 | 0 | 0 |
-| sweep-L-W-oneline.json-wrap | before | 15.4/23.1/49.8/49.8 | 3.5/11.2/18.3/19.6 | 4.4/8.6/10.5/10.6 | 6 | 0 |
-| | after | 13.9/18.3/167.2/167.2 | 10.2/15.2/19.4/167.0 | 16.6/16.8/167.2/167.2 | 5 | 1 |
-| w-held-hugelines.txt-wrap | before | 3.4/8.6/21.4/21.4 | 3.3/8.2/9.1/20.3 | 4.3/9.0/10.2/13.5 | 0 | 0 |
-| | after | 3.3/7.7/11.9/11.9 | 3.2/7.4/10.8/11.3 | 16.6/16.8/17.2/17.8 | 0 | 0 |
-| e-held-hugelines.txt-wrap | before | 8.0/14.5/20.0/20.0 | 3.8/9.3/18.5/18.9 | 4.4/9.2/10.8/11.6 | 0 | 0 |
-| | after | 6.0/17.2/21.2/21.2 | 4.2/14.8/19.9/19.9 | 16.6/16.8/17.0/17.0 | 0 | 0 |
-| l-held-hugelines.txt-wrap | before | 14.4/18.8/20.4/20.4 | 13.4/17.8/19.4/19.4 | - | 0 | 0 |
-| | after | 14.0/16.8/20.8/20.8 | 13.0/15.7/19.7/19.7 | - | 0 | 0 |
-| dollar-zero-hugelines.txt-wrap | before | 15.7/16.6/16.6/16.6 | 14.5/15.5/15.5/15.5 | - | 0 | 0 |
-| | after | 18.7/19.3/19.3/19.3 | 7.1/17.6/18.2/18.2 | 16.5/16.8/16.8/16.8 | 0 | 0 |
-| f-t-hugelines.txt-wrap | before | 16.1/16.4/16.8/16.8 | 15.1/15.3/15.7/15.7 | - | 0 | 0 |
-| | after | 20.1/20.3/22.6/22.6 | 4.8/19.1/20.5/21.6 | 14.7/16.8/16.9/17.3 | 0 | 0 |
-| gl-gh-hugelines.txt-wrap | before | 13.9/16.9/16.9/16.9 | 12.9/15.7/15.8/15.8 | - | 0 | 0 |
-| | after | 18.8/19.6/20.0/20.0 | 6.8/15.4/19.0/19.0 | 15.1/16.8/17.3/17.3 | 0 | 0 |
-| insert-end-hugelines.txt-wrap | before | 15.4/19.2/21.1/21.1 | 14.4/18.2/20.1/20.1 | - | 0 | 0 |
-| | after | 3.3/8.1/18.4/18.4 | 3.2/7.6/10.2/17.3 | 16.6/16.8/16.9/17.3 | 0 | 0 |
-| insert-middle-hugelines.txt-wrap | before | 17.6/21.3/26.2/26.2 | 13.0/16.9/20.2/20.2 | - | 0 | 0 |
-| | after | 16.7/21.7/24.6/24.6 | 12.2/16.5/19.2/19.2 | - | 0 | 0 |
-| sweep-L-W-hugelines.txt-wrap | before | 14.3/17.8/32.3/32.3 | 8.5/16.1/20.0/26.1 | 7.4/16.7/18.3/18.3 | 0 | 0 |
-| | after | 14.0/18.6/30.0/30.0 | 11.4/15.1/19.1/30.0 | 16.7/16.8/17.0/17.0 | 0 | 0 |
-| w-held-minified.js-nowrap | before | 16.8/32.8/34.0/34.0 | 15.6/15.8/27.7/27.7 | 16.7/16.9/33.3/33.3 | 0 | 5 |
-| | after | 14.3/29.1/30.6/30.6 | 9.5/13.5/20.8/20.8 | 16.6/17.1/32.3/32.3 | 0 | 4 |
-| e-held-minified.js-nowrap | before | 28.0/31.1/33.5/33.5 | 11.6/14.4/17.1/17.1 | - | 0 | 0 |
-| | after | 25.9/30.0/32.7/32.7 | 9.5/13.7/16.4/16.4 | - | 0 | 0 |
-| l-held-minified.js-nowrap | before | 27.5/31.5/33.0/33.0 | 11.0/15.2/16.4/16.4 | - | 0 | 0 |
-| | after | 25.3/29.3/30.6/30.6 | 8.9/13.0/14.3/14.3 | - | 0 | 0 |
-| dollar-zero-minified.js-nowrap | before | 24.5/25.0/25.0/25.0 | 23.4/23.8/23.8/23.8 | - | 0 | 0 |
-| | after | 23.3/24.4/24.4/24.4 | 8.5/13.3/23.2/23.2 | 16.6/17.0/18.0/18.0 | 0 | 0 |
-| f-t-minified.js-nowrap | before | 29.4/35.6/36.6/36.6 | 28.4/34.6/36.2/36.2 | - | 0 | 0 |
-| | after | 31.3/31.5/31.6/31.6 | 8.6/30.2/30.5/30.6 | 16.5/16.8/17.9/18.1 | 0 | 0 |
-| gl-gh-minified.js-nowrap | before | 24.5/35.6/35.7/35.7 | 23.5/34.5/34.6/34.6 | - | 0 | 0 |
-| | after | 21.9/31.0/31.8/31.8 | 9.2/20.8/30.8/30.8 | 16.6/16.7/17.4/17.4 | 0 | 0 |
-| insert-end-minified.js-nowrap | before | 19.4/25.7/35.6/35.6 | 18.4/24.3/34.5/34.5 | 16.7/17.9/17.9/17.9 | 0 | 0 |
-| | after | 8.8/14.5/23.9/23.9 | 8.6/12.7/22.5/22.8 | 16.6/16.8/22.4/22.6 | 0 | 0 |
-| insert-middle-minified.js-nowrap | before | 16.6/1994.8/1994.8/1994.8 | 13.9/18.2/1955.8/1955.8 | 15.3/18.5/30.3/30.3 | 0 | 1 |
-| | after | 166.7/251.2/253.8/253.8 | 8.6/153.7/166.3/166.3 | 16.5/16.8/18.0/18.0 | 0 | 0 |
-| sweep-L-W-minified.js-nowrap | before | 24.7/2780.7/2780.7/2780.7 | 15.6/16.3/1963.0/1963.0 | 16.7/16.8/16.8/16.8 | 0 | 0 |
-| | after | 16.4/26.3/84.3/84.3 | 11.0/14.2/18.3/77.0 | 16.6/16.9/17.1/17.1 | 1 | 0 |
-| w-held-oneline.json-nowrap | before | 32.7/33.7/34.4/34.4 | 15.3/15.7/24.8/24.8 | 16.7/17.8/33.9/33.9 | 0 | 5 |
-| | after | 32.8/33.5/34.7/34.7 | 15.1/15.4/22.0/22.0 | 16.7/18.0/33.4/33.4 | 0 | 5 |
-| e-held-oneline.json-nowrap | before | 33.3/33.7/51.7/51.7 | 13.7/14.0/14.9/14.9 | - | 0 | 0 |
-| | after | 33.3/33.5/52.7/52.7 | 13.7/13.9/14.0/14.0 | - | 0 | 0 |
-| l-held-oneline.json-nowrap | before | 33.3/33.5/52.6/52.6 | 13.4/13.7/14.9/14.9 | - | 0 | 0 |
-| | after | 33.3/33.5/51.0/51.0 | 13.7/13.9/14.9/14.9 | - | 0 | 0 |
-| dollar-zero-oneline.json-nowrap | before | 26.1/33.4/33.4/33.4 | 17.3/25.3/25.3/25.3 | - | 0 | 0 |
-| | after | 30.5/33.3/33.3/33.3 | 16.6/22.0/30.7/30.7 | 16.7/16.8/17.2/17.2 | 0 | 0 |
-| f-t-oneline.json-nowrap | before | 27.2/35.5/39.1/39.1 | 26.2/34.5/38.1/38.1 | - | 0 | 0 |
-| | after | 30.8/31.0/31.2/31.2 | 16.5/29.6/30.3/30.3 | 16.7/16.8/17.1/17.4 | 0 | 0 |
-| gl-gh-oneline.json-nowrap | before | 25.8/27.6/35.3/35.3 | 24.8/27.0/34.2/34.2 | - | 0 | 0 |
-| | after | 31.7/32.6/32.7/32.7 | 15.8/30.5/31.6/31.6 | 16.6/16.8/16.8/16.8 | 0 | 0 |
-| insert-end-oneline.json-nowrap | before | 21.8/26.4/35.2/35.2 | 20.5/25.0/34.2/34.2 | 16.6/16.8/16.8/16.8 | 0 | 0 |
-| | after | 16.6/18.2/32.8/32.8 | 16.4/16.6/31.3/31.7 | 16.7/16.9/18.2/19.0 | 0 | 0 |
-| insert-middle-oneline.json-nowrap | before | 16.7/1891.8/1891.8/1891.8 | 15.6/16.7/1853.1/1853.1 | 16.7/16.9/34.5/34.5 | 0 | 1 |
-| | after | 124.1/318.2/319.3/319.3 | 16.4/179.1/180.3/180.3 | 16.7/16.7/16.9/16.9 | 0 | 0 |
-| sweep-L-W-oneline.json-nowrap | before | 16.8/2801.3/2801.3/2801.3 | 15.6/15.8/16.7/1844.0 | 16.7/16.8/17.0/17.0 | 0 | 0 |
-| | after | 16.4/33.2/70.5/70.5 | 13.4/16.8/26.4/31.8 | 16.6/16.9/17.5/17.5 | 0 | 0 |
-| w-held-hugelines.txt-nowrap | before | 22.3/27.4/27.8/27.8 | 15.3/16.0/16.8/16.8 | 16.8/25.6/27.8/27.9 | 0 | 11 |
-| | after | 22.4/26.9/31.7/31.7 | 15.1/16.0/27.1/27.1 | 16.7/22.7/27.6/27.6 | 0 | 3 |
-| e-held-hugelines.txt-nowrap | before | 22.5/27.5/28.8/28.8 | 11.4/16.3/17.0/17.0 | 22.3/27.4/28.8/28.8 | 0 | 17 |
-| | after | 22.4/26.7/28.1/28.1 | 11.4/15.2/17.0/17.0 | - | 0 | 0 |
-| l-held-hugelines.txt-nowrap | before | 22.0/27.4/28.1/28.1 | 10.8/15.8/16.7/17.0 | 21.8/24.2/28.1/28.1 | 0 | 16 |
-| | after | 22.1/26.4/27.6/27.6 | 10.9/15.3/16.4/16.4 | - | 0 | 0 |
-| dollar-zero-hugelines.txt-nowrap | before | 16.6/16.7/16.7/16.7 | 15.6/15.8/16.5/20.6 | 16.7/16.8/17.3/21.7 | 0 | 0 |
-| | after | 15.6/30.4/30.4/30.4 | 13.9/16.1/29.2/29.2 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-| f-t-hugelines.txt-nowrap | before | 16.6/16.8/16.9/16.9 | 15.6/16.0/16.6/16.7 | 16.7/16.8/17.0/17.5 | 0 | 0 |
-| | after | 30.7/30.9/31.4/31.4 | 14.8/29.6/29.9/30.4 | 16.6/16.8/22.3/22.6 | 0 | 0 |
-| gl-gh-hugelines.txt-nowrap | before | 10.9/16.7/16.8/16.8 | 15.6/15.8/16.9/20.7 | 16.6/16.8/18.0/21.7 | 0 | 0 |
-| | after | 16.8/31.4/31.6/31.6 | 15.0/16.7/30.6/30.6 | 16.6/16.8/22.7/22.7 | 0 | 0 |
-| insert-end-hugelines.txt-nowrap | before | 16.5/16.8/17.1/17.1 | 15.6/16.4/16.8/16.9 | 16.6/16.8/17.1/17.9 | 0 | 0 |
-| | after | 16.5/18.3/31.8/31.8 | 16.3/16.6/29.8/30.8 | 16.6/16.9/22.7/22.7 | 0 | 0 |
-| insert-middle-hugelines.txt-nowrap | before | 26.2/29.0/29.4/29.4 | 11.6/15.7/16.2/16.4 | 16.6/26.9/29.2/29.4 | 0 | 40 |
-| | after | 24.4/29.0/37.4/37.4 | 10.7/16.3/16.9/16.9 | 16.6/17.1/22.3/22.3 | 0 | 0 |
-| sweep-L-W-hugelines.txt-nowrap | before | 16.2/25.8/30.4/30.4 | 12.6/15.7/16.5/18.3 | 16.2/25.6/30.0/30.5 | 0 | 30 |
-| | after | 21.0/25.8/30.4/30.4 | 14.1/18.1/29.3/29.7 | 16.6/16.8/16.9/16.9 | 0 | 0 |
-
-#### tty ReleaseSafe: `scroll`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 2.6/3.0/8.8/8.8 | 0.4/1.4/2.8/8.7 | 0.5/1.9/3.1/16.5 | 1449 | 0 | 105/15264 |
-| | after | 2.4/3.0/8.1/8.1 | 2.2/2.7/7.9/8.0 | 15.8/16.9/18.6/18.6 | 1455 | 0 | 120/15264 |
-
-#### tty ReleaseSafe: `stress`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 2.6/11.4/23.2/26.1 | 1.0/2.7/20.1/26.0 | 2.0/2.6/5.2/16.7 | 9811 | 0 | 174/13383 |
-| | after | 1.3/2.8/5.9/14.6 | 1.1/2.7/4.9/13.1 | 15.5/16.6/17.6/17.6 | 9807 | 0 | 132/13383 |
-
-#### tty ReleaseSafe: `jumps`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 1.6/6.0/22.0/22.7 | 0.4/0.8/2.8/22.7 | 0.4/1.5/2.8/16.7 | 2190 | 0 | 108/15264 |
-| | after | 1.6/3.6/15.8/17.4 | 1.1/2.6/7.3/17.3 | 15.8/16.8/18.4/19.1 | 2189 | 0 | 100/15264 |
-
-#### tty Debug: `scroll`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 9.8/14.8/60.9/60.9 | 1.9/5.4/14.7/45.2 | 2.0/2.0/13.3/24.9 | 1452 | 0 | 86/15264 |
-| | after | 7.3/14.1/36.2/36.2 | 5.6/11.8/25.2/27.9 | 15.5/19.8/20.8/20.8 | 1454 | 0 | 128/15264 |
-
-#### tty Debug: `stress`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 3.5/29.0/73.5/103.4 | 2.6/13.2/58.9/103.0 | 3.0/3.2/18.7/24.0 | 9825 | 0 | 180/13383 |
-| | after | 2.4/12.8/69.9/195.7 | 2.3/11.0/66.3/195.5 | 15.6/19.2/24.9/24.9 | 9825 | 0 | 6859/13383 |
-
-#### tty Debug: `jumps`
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late | bytes/frame p50/max |
-|---|---|---|---|---|---|---|---|
-| all | before | 26.1/43.9/74.5/78.0 | 2.1/22.9/44.8/77.5 | 2.1/2.3/15.7/40.8 | 2189 | 1 | 108/15264 |
-| | after | 24.5/37.8/63.1/70.3 | 4.9/27.5/42.9/68.7 | 15.7/18.5/24.2/39.9 | 2175 | 1 | 101/15264 |
-
-#### GUI: `pdf-scroll` (anim 11), before = anim 10 with the scenario, after = anim 11
-
-ReleaseSafe, run 1 of 2 (`.scratch/runs9/v1-*`; run 2 within a few ms but far-jump max):
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| spin | before | 4.7/9.2/33.4/33.4 | 4.7/9.2/33.4/33.4 | - | 1073 | 0 |
-| | after | 2.0/6.8/22.0/22.0 | 1.7/6.9/17.2/22.0 | 12.9/16.7/21.8/28.4 | 1009 | 1 |
-| held-pagedown | before | 15.3/29.4/31.1/31.1 | 15.2/29.3/31.0/31.0 | - | 9092 | 0 |
-| | after | 1.8/19.2/26.8/26.8 | 1.7/9.6/26.7/26.7 | 16.6/20.5/33.9/33.9 | 6359 | 5 |
-| far-jump | before | 16.5/32.8/32.8/32.8 | 6.8/18.0/32.7/32.7 | 17.0/17.2/19.1/19.1 | 24126 | 0 |
-| | after | 22.6/32.1/32.1/32.1 | 5.8/7.1/32.0/32.0 | 16.6/16.8/18.8/18.8 | 23744 | 0 |
-| slow-notches | before | 7.1/7.1/7.1/7.1 | 8.8/9.8/9.8/9.8 | 16.8/17.4/17.4/17.4 | 83 | 0 |
-| | after | 6.9/7.0/7.0/7.0 | 1.7/6.7/6.9/6.9 | 16.6/16.8/17.3/17.3 | 87 | 0 |
-| slow-touch | before | 6.9/10.7/12.3/12.3 | 6.8/10.6/12.2/12.2 | - | 94 | 0 |
-| | after | 6.8/11.0/12.4/12.5 | 6.7/10.9/12.4/12.4 | - | 94 | 0 |
-
-Debug (`w1-*`):
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| spin | before | 4.8/12.7/148.2/148.2 | 4.7/12.3/148.1/148.1 | - | 1074 | 0 |
-| | after | 3.2/7.7/140.4/140.4 | 2.7/7.6/71.8/140.3 | 16.4/16.8/72.2/141.1 | 995 | 2 |
-| held-pagedown | before | 78.5/115.5/115.5/115.5 | 78.3/115.3/115.3/115.3 | - | 8296 | 0 |
-| | after | 10.1/121.7/127.6/127.6 | 6.5/98.4/127.5/127.5 | 16.6/98.6/141.2/141.2 | 6106 | 4 |
-| far-jump | before | 45.4/84.2/84.2/84.2 | 6.2/45.1/83.9/83.9 | 16.6/17.7/18.7/18.7 | 24172 | 0 |
-| | after | 51.4/86.9/86.9/86.9 | 6.1/8.5/86.7/86.7 | 16.6/17.5/20.8/20.8 | 23525 | 0 |
-| slow-notches | before | 11.4/13.1/13.1/13.1 | 7.5/12.6/12.6/12.6 | 15.6/19.2/19.2/19.2 | 83 | 0 |
-| | after | 18.3/19.0/19.0/19.0 | 2.7/11.9/18.5/18.5 | 16.6/16.9/19.2/19.2 | 88 | 0 |
-| slow-touch | before | 7.3/11.8/14.1/17.8 | 7.0/11.5/13.8/17.3 | - | 94 | 0 |
-| | after | 7.2/11.0/12.5/15.4 | 7.0/10.5/12.3/15.1 | - | 94 | 0 |
-
-The `panes` timedemo's pdf phase (`u1-*`, RS then Debug):
-
-| scenario | | latency ms p50/p90/p99/max | frame work ms | present gap ms (moving) | rows/s | late |
-|---|---|---|---|---|---|---|
-| pdf | before | 6.9/14.8/44.1/46.3 | 6.7/14.5/30.6/44.0 | 16.7/16.8/16.9/16.9 | 4678 | 0 |
-| | after | 2.0/7.4/34.8/37.8 | 1.8/6.6/18.4/34.7 | 16.6/16.8/27.2/32.9 | 4678 | 9 |
-| pdf | before | 7.6/57.1/149.4/158.8 | 6.3/18.0/142.1/149.3 | 16.6/16.8/17.9/17.9 | 4663 | 0 |
-| | after | 3.2/16.2/144.5/155.5 | 2.8/7.2/125.0/144.4 | 16.5/16.8/134.0/149.4 | 4655 | 7 |
-
-Strip steps between presented frames (px, the probe's `scroll` column is
-the strip's drawn y for a focused PDF; cell height 25):
-
-| phase | before | after |
-|---|---|---|
-| slow notches (one each 300 ms) | 25 px in one frame a notch, 7 of 7 steps whole lines | p10/p50/p90/max 0.04/0.8/6.8/7.2 px, none a whole line |
-| slow touchpad (0.06 line a frame) | 1.5 px every frame | 1.5 px every frame (followed) |
-| a spin's steps | 25 px each (a notch a frame, 100 at a burst) | 0.5/16/28/42, a stream |
-| settle tails | none (nothing settled) | no rise after the fastest frame; last step <= 0.05 px |
-
-Latency: the spin and held PageDown answer sooner (the frame that answers
-a key no longer renders the pages it moves to before showing it; they
-render as the glide's input frames, a stream's, come). The far jumps
-(ge, gg, a Look at a page, Back) answer within the before's spread in
-ReleaseSafe (p50 16.5/17.8 -> 22.6/14.9 over two runs, max 32.8/31.7 ->
-32.1/31.2); in Debug ge's frame renders what the before split between the
-`g` prefix's frame (~20 ms, re-rendering pages left banded by a fling) and
-ge's own (~40): the same total in one frame (60-67 ms). The `late` frames
-are a held PageDown's input frames rendering a page while it moves (33 ms
-gaps; before they were not moving frames, and took 30 ms to answer).
-
-## The coordinator's latency rows, answered
-
-- **pages-up-big** (p90 8.8 -> 24): real. The paint-ahead's upward stretch
- stopped two lines short of the view's own bottom (it was "two views out",
- the AFTER rows counted from the far end), so a half page up missed it and
- painted on the frame (11-17 ms). The stretch is now the view itself and
- three more the way it goes, both ways; re-measured (two interleaved
- rounds and the final batch): p90 8.8-11.0 against 9.7-19.1 before, frame
- work p90 6.0 against 14.1; the p99 left (15-20 ms) is the first page up
- after `ge`, which paints on the frame in both (the paint-ahead was
- looking down).
-- **notches p90/p99**: the wheel takes the drawn-at-once branch (its SDL
- event sets `input_seen` as a key's does: the nine notches into a running
- glide answer in 1.7-2.0 ms against 2.7-4.7 before). The p90 of ten
- samples is the first notch after 1.2 s idle: 13.3 against 9.8, n=1, the
- CPU and GPU waking in both (its upload 4.7 ms, its fence 2.4).
-- **small-file jumps +2 ms**: not reproducible: two more interleaved rounds
- put after both above and below before (search-n-small 8.6/7.2 against
- 9.1/10.4, rail-small 8.6/7.0 against 8.9/12.1). Per frame, an input after
- idle pays the soft present's upload at a low clock (4.7 ms against 0.8
- warm) in both builds; that is the spread.
-- **insert-big max**: the 200-line paste's frame (a far, stitched slide and
- its paint), 31-37 ms in both builds.
-- **rows/s that changed meaning**: the `scroll` demo's before ran `G` (a
- no-op without a count; the script was fixed to `ge` in anim 3, not in
- 1b, so before and after ran different scripts). Moved into 1b, both
- rebuilt and re-run: the tables below are the same script. `jumplist`'s
- rows/s counts how far the jumps went, which depends on what earlier
- phases left in the jumplist; before's `look-big` phase drew no frames
- (its Looks resolved in the query pane), so its jumplist held fewer far
- places. Compare its latency and work, not its rows/s.
-
-## Open questions and positions
-
-1. **The soft present on Wayland is the ReleaseSafe frame's tail.** Every
- native-Wayland GUI presents through SDL_Renderer so WindowOpacity can be
- background-only, whatever the setting: a GPU fence wait and a 6.7 MB
- upload a frame, and the first frame after idle pays both at a low clock.
- With the GPU swapchain (X11) the scroll is 0.34 ms of work p50. Position:
- claim the GPU swapchain when a session starts at WindowOpacity 100 (the
- author's config) and say "needs a restart" below 100.
-2. **Debug is slow where tree-sitter allocates**: a third of the Debug
- stress run was the DebugAllocator's stack capture per tree-sitter
- allocation. Position: a size-class pool for tree-sitter in safe builds,
- leak-checked by counting.
-3. **The spin** costs a core while something moves (CPU 2.0 -> 7.3 s over
- the 18 s scroll demo, ReleaseSafe). Position: keep; asleep, the clock
- that cannot be trusted costs the latency the author ranked first.
-4. **Terminals and keys**: a terminal glides only under the wheel. Ctrl-d
- in its normal mode could glide too when no output arrived that frame.
- Position: next, with the stream test.
-5. **The far jump's slide** shows the last frame's body sliding off and the
- new one in, not what lies between. Position: keep; it reads as motion
- and never shows anything that was not on screen.
-6. **Long lines**: 16 KB round the caret is painted; the rest of a minified
- line keeps its last colours. Typing in the middle of a 500 KB line is
- now 18-22 ms a key in ReleaseSafe (was 173-213); what is left is the
- text's splice and the wrap of the line. The no-wrap sideways scroll
- snaps (a horizontal glide was not asked). Position: an incremental
- whole-text parse is the real fix; not ponytail-sized.
-7. **PDF first frames are not improved.** The bridge renders on the loop
- through one MuPDF context and a one-page cache (30-38 ms RS, 110-184
- Debug, the page's content stream interpreted). Off the loop needs a
- cloned fz_context per worker and locks round the document: a day's
- work with the band-render design in the latency notes. Pictures are
- done (decoded on a thread: first frame 90 -> 13 ms max RS, 296 ms ->
- one frame later in Debug); a second open still decodes again (no cache:
- a Restore is rare).
-8. **The tty** has no vsync and no sub-cell motion: it is paced (a 16 ms
- tick through its acks), it glides at whole rows (anim 12), and a scroll still rewrites
- most rows (vaxis diffs cells; terminal scroll regions would move them
- for a few bytes). Position: scroll regions, if the tty's bytes matter.