vriffle timings on a 2-vCPU Xeon VM (48 KB L1d, 2 MB L2, 504 MB L3 this boot), 2026-11-23.
Its memory bandwidth swung about 1.6x within minutes: compare within a run.
Each test is 240 frames at 20 px, Opticks from 10% in, into buffers totalling 400 MB.

== 3840x2160, a fast phase, 09:40, before headings had their own style
3840×2160 frames, 12 buffers, 90 glyphs
page still, background moving                        2.49 ms   3.33 Gpx/s   layout 0.00, glyphs 0.04, compositing 2.46 ms
a page a frame                                       3.80 ms   2.18 Gpx/s   layout 1.31, glyphs 0.03, compositing 2.46 ms
zooming 8-48 px, weight and hollowness changing      6.68 ms   1.24 Gpx/s   layout 1.65, glyphs 0.88, compositing 4.15 ms
memcpy, frame to frame                               5.07 ms   1.64 Gpx/s

== 3840x2160, a slow phase, 10:00, as delivered
3840×2160 frames, 12 buffers, 90 glyphs
page still, background moving                        3.87 ms   2.14 Gpx/s   layout 0.00, glyphs 0.00, compositing 3.87 ms
a page a frame                                       5.36 ms   1.55 Gpx/s   layout 1.41, glyphs 0.09, compositing 3.87 ms
zooming 8-48 px, weight and hollowness changing      6.89 ms   1.20 Gpx/s   layout 1.65, glyphs 1.06, compositing 4.18 ms
memcpy, frame to frame                               5.77 ms   1.44 Gpx/s

== 1920x1080, as delivered, two runs
1920×1080 frames, 50 buffers, 90 glyphs
page still, background moving                        0.60 ms   3.45 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.60 ms
a page a frame                                       1.08 ms   1.91 Gpx/s   layout 0.36, glyphs 0.02, compositing 0.70 ms
zooming 8-48 px, weight and hollowness changing      1.85 ms   1.12 Gpx/s   layout 0.40, glyphs 0.67, compositing 0.78 ms
memcpy, frame to frame                               0.96 ms   2.15 Gpx/s
1920×1080 frames, 50 buffers, 90 glyphs
page still, background moving                        0.60 ms   3.44 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.60 ms
a page a frame                                       1.36 ms   1.52 Gpx/s   layout 0.40, glyphs 0.03, compositing 0.94 ms
zooming 8-48 px, weight and hollowness changing      2.13 ms   0.97 Gpx/s   layout 0.41, glyphs 0.71, compositing 1.01 ms
memcpy, frame to frame                               1.11 ms   1.87 Gpx/s

== the demo in a 1280x800 window under Xvfb, as it reported every 2 s, one 38 s pass
   (Gpx/s here is the window's pixels over compositing time alone)
 790 fps, 20.0 px: layout 0.00, glyphs 0.00, compositing 0.54 ms, 1.90 Gpx/s
 893 fps, 20.0 px: layout 0.00, glyphs 0.00, compositing 0.47 ms, 2.20 Gpx/s
 903 fps, 20.0 px: layout 0.01, glyphs 0.00, compositing 0.44 ms, 2.35 Gpx/s
 819 fps, 20.0 px: layout 0.00, glyphs 0.00, compositing 0.53 ms, 1.94 Gpx/s
 946 fps, 20.0 px: layout 0.00, glyphs 0.00, compositing 0.44 ms, 2.33 Gpx/s
 899 fps, 20.0 px: layout 0.01, glyphs 0.00, compositing 0.46 ms, 2.24 Gpx/s
 761 fps, 20.0 px: layout 0.00, glyphs 0.00, compositing 0.59 ms, 1.73 Gpx/s
 812 fps, 20.0 px: layout 0.01, glyphs 0.00, compositing 0.54 ms, 1.88 Gpx/s
 783 fps, 21.0 px: layout 0.01, glyphs 0.03, compositing 0.55 ms, 1.87 Gpx/s
 491 fps, 44.0 px: layout 0.04, glyphs 0.83, compositing 0.49 ms, 2.09 Gpx/s
 427 fps, 41.0 px: layout 0.01, glyphs 1.11, compositing 0.50 ms, 2.04 Gpx/s
 467 fps, 18.3 px: layout 0.05, glyphs 0.84, compositing 0.53 ms, 1.93 Gpx/s
 485 fps,  8.7 px: layout 0.29, glyphs 0.41, compositing 0.64 ms, 1.60 Gpx/s
 447 fps,  9.4 px: layout 0.50, glyphs 0.37, compositing 0.68 ms, 1.50 Gpx/s
 485 fps, 21.1 px: layout 0.24, glyphs 0.47, compositing 0.64 ms, 1.61 Gpx/s
 451 fps, 44.0 px: layout 0.05, glyphs 0.99, compositing 0.50 ms, 2.05 Gpx/s
 362 fps, 40.9 px: layout 0.02, glyphs 1.35, compositing 0.60 ms, 1.72 Gpx/s

==== 2026-11-23: from scratch by default; blur, gray, rubrics, grain; vsync ====

-- ./vriffle -b at three sizes, one after another (a slowish phase of the VM)
960×540 frames, 202 buffers, 206 glyphs
page still, cached, background moving                0.30 ms   1.74 Gpx/s   layout 0.00, glyphs 0.00 (rendering 0.00), compositing 0.30 ms
page still, from scratch                             1.36 ms   0.38 Gpx/s   layout 0.19, glyphs 0.80 (rendering 0.79), compositing 0.37 ms
a page a frame, glyphs cached                        0.46 ms   1.13 Gpx/s   layout 0.12, glyphs 0.01 (rendering 0.01), compositing 0.32 ms
zooming 8-48 px, weight and hollowness changing      1.16 ms   0.45 Gpx/s   layout 0.11, glyphs 0.71 (rendering 0.69), compositing 0.33 ms
memcpy, frame to frame                               0.34 ms   1.52 Gpx/s
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.18 ms   1.75 Gpx/s   layout 0.00, glyphs 0.00 (rendering 0.00), compositing 1.18 ms
page still, from scratch                             2.35 ms   0.88 Gpx/s   layout 0.41, glyphs 0.74 (rendering 0.72), compositing 1.20 ms
a page a frame, glyphs cached                        1.64 ms   1.26 Gpx/s   layout 0.40, glyphs 0.03 (rendering 0.01), compositing 1.22 ms
zooming 8-48 px, weight and hollowness changing      2.70 ms   0.77 Gpx/s   layout 0.42, glyphs 0.96 (rendering 0.91), compositing 1.31 ms
memcpy, frame to frame                               1.33 ms   1.56 Gpx/s
3840×2160 frames, 12 buffers, 206 glyphs
page still, cached, background moving                3.68 ms   2.25 Gpx/s   layout 0.00, glyphs 0.00 (rendering 0.00), compositing 3.68 ms
page still, from scratch                             5.33 ms   1.56 Gpx/s   layout 1.47, glyphs 1.17 (rendering 1.10), compositing 2.69 ms
a page a frame, glyphs cached                        4.22 ms   1.96 Gpx/s   layout 1.43, glyphs 0.07 (rendering 0.01), compositing 2.72 ms
zooming 8-48 px, weight and hollowness changing      5.83 ms   1.42 Gpx/s   layout 1.54, glyphs 1.42 (rendering 1.21), compositing 2.87 ms
memcpy, frame to frame                               3.79 ms   2.19 Gpx/s

-- the previous version (v11) against this one at 1920x1080, alternating: the
-- still page's compositing and memcpy, ms; the VM flipped between phases
v11   1.10  1.29
new   0.85  1.29
v11   0.59  0.94
new   0.72  0.90
v11   0.59  0.94
new   0.68  0.93
v11   0.59  1.09
new   1.14  1.36
v11   1.13  1.15
new   0.60  1.40

-- the 1080p run that wrote stills/
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.05 ms   1.97 Gpx/s   layout 0.00, glyphs 0.00 (rendering 0.00), compositing 1.05 ms
page still, from scratch                             2.52 ms   0.82 Gpx/s   layout 0.41, glyphs 1.01 (rendering 0.99), compositing 1.10 ms
a page a frame, glyphs cached                        1.24 ms   1.67 Gpx/s   layout 0.37, glyphs 0.03 (rendering 0.01), compositing 0.85 ms
zooming 8-48 px, weight and hollowness changing      2.89 ms   0.72 Gpx/s   layout 0.41, glyphs 1.31 (rendering 1.25), compositing 1.18 ms
memcpy, frame to frame                               1.34 ms   1.55 Gpx/s

-- window under Xvfb, 1280x800, vsync off: paging from scratch, paging cached, still page rippling cached
1280×800 at 134 fps · from scratch, a frame in 2.20 ms (layout 0.27, glyphs 1.29, compositing 0.65): 0.46 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 537 fps · from scratch, a frame in 1.32 ms (layout 0.18, glyphs 0.85, compositing 0.29): 0.77 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 431 fps · from scratch, a frame in 1.57 ms (layout 0.18, glyphs 0.82, compositing 0.57): 0.65 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 665 fps · cached, a frame in 0.78 ms (layout 0.19, glyphs 0.01, compositing 0.58): 1.31 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 793 fps · cached, a frame in 0.64 ms (layout 0.19, glyphs 0.01, compositing 0.45): 1.59 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 1125 fps · cached, a frame in 0.36 ms (layout 0.00, glyphs 0.00, compositing 0.35): 2.86 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s
1280×800 at 1176 fps · cached, a frame in 0.33 ms (layout 0.00, glyphs 0.00, compositing 0.33): 3.12 Gpx/s · memcpy 0.39 ms: 2.66 Gpx/s

-- the demo under Xvfb with vsync (Present)
1280×800 at 60 fps with vsync · from scratch, a frame in 1.58 ms (layout 0.28, glyphs 0.93, compositing 0.36): 0.65 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.23 ms (layout 0.30, glyphs 1.48, compositing 0.45): 0.46 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.67 ms (layout 0.22, glyphs 1.04, compositing 0.41): 0.61 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.73 ms (layout 0.19, glyphs 1.11, compositing 0.43): 0.59 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 58 fps with vsync · from scratch, a frame in 2.56 ms (layout 0.19, glyphs 1.92, compositing 0.45): 0.40 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 58 fps with vsync · from scratch, a frame in 2.44 ms (layout 0.17, glyphs 1.84, compositing 0.43): 0.42 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.60 ms (layout 0.17, glyphs 1.00, compositing 0.43): 0.64 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 56 fps with vsync · from scratch, a frame in 2.14 ms (layout 0.19, glyphs 1.56, compositing 0.39): 0.48 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.84 ms (layout 0.25, glyphs 1.71, compositing 0.88): 0.36 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.93 ms (layout 0.17, glyphs 1.07, compositing 0.70): 0.53 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.37 ms (layout 0.04, glyphs 1.73, compositing 0.60): 0.43 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 3.71 ms (layout 0.06, glyphs 2.85, compositing 0.81): 0.28 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.58 ms (layout 0.11, glyphs 1.82, compositing 0.65): 0.40 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.74 ms (layout 0.81, glyphs 1.01, compositing 0.91): 0.37 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 3.25 ms (layout 1.25, glyphs 0.93, compositing 1.06): 0.32 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.43 ms (layout 0.37, glyphs 1.21, compositing 0.84): 0.42 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.51 ms (layout 0.08, glyphs 1.82, compositing 0.61): 0.41 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 3.27 ms (layout 0.06, glyphs 2.77, compositing 0.44): 0.31 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.39 ms (layout 0.16, glyphs 1.77, compositing 0.47): 0.43 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.42 ms (layout 0.95, glyphs 0.88, compositing 0.58): 0.42 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 2.33 ms (layout 0.95, glyphs 0.81, compositing 0.57): 0.44 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.66 ms (layout 0.25, glyphs 0.99, compositing 0.42): 0.62 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.62 ms (layout 0.04, glyphs 1.23, compositing 0.35): 0.63 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.17 ms (layout 0.02, glyphs 0.59, compositing 0.56): 0.87 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.12 ms (layout 0.02, glyphs 0.55, compositing 0.55): 0.91 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.19 ms (layout 0.02, glyphs 0.61, compositing 0.57): 0.86 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.34 ms (layout 0.02, glyphs 0.70, compositing 0.61): 0.76 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.09 ms (layout 0.02, glyphs 0.54, compositing 0.52): 0.94 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.16 ms (layout 0.02, glyphs 0.58, compositing 0.56): 0.88 Gpx/s · memcpy 0.27 ms: 3.74 Gpx/s

==== 2026-11-23, later: render() 8 subpixels at a time; no clock reads per glyph ====

-- dbg/rendbench: a 1080p page's glyphs rendered from scratch, µs a frame and a glyph
-- (the instance loop included: 35,697 instances at 8 px)
before (scalar, fminf/fmaxf calls, colour tables):
 8 px: 126 glyphs, 35697 instances,    550 µs a frame,   4.4 µs a glyph
12 px:  88 glyphs, 15768 instances,    458 µs a frame,   5.2 µs a glyph
20 px:  82 glyphs, 5386 instances,    771 µs a frame,   9.4 µs a glyph
32 px:  73 glyphs, 1922 instances,    994 µs a frame,  13.6 µs a glyph
48 px:  62 glyphs,  873 instances,   1469 µs a frame,  23.7 µs a glyph
coverage and pixels in AVX2, planes still scalar:
 8 px: 126 glyphs, 35697 instances,    312 µs a frame,   2.5 µs a glyph
12 px:  88 glyphs, 15768 instances,    170 µs a frame,   1.9 µs a glyph
20 px:  82 glyphs, 5386 instances,    195 µs a frame,   2.4 µs a glyph
32 px:  73 glyphs, 1922 instances,    267 µs a frame,   3.7 µs a glyph
48 px:  62 glyphs,  873 instances,    349 µs a frame,   5.6 µs a glyph
and planes by permute:
 8 px: 126 glyphs, 35697 instances,    287 µs a frame,   2.3 µs a glyph
12 px:  88 glyphs, 15768 instances,    136 µs a frame,   1.5 µs a glyph
20 px:  82 glyphs, 5386 instances,    147 µs a frame,   1.8 µs a glyph
32 px:  73 glyphs, 1922 instances,    212 µs a frame,   2.9 µs a glyph
48 px:  62 glyphs,  873 instances,    300 µs a frame,   4.8 µs a glyph

-- dbg/dumpglyphs: every glyph, 5 sizes x 5 looks x 3 LCD orders (15,450 renders),
-- new against old: 14,829 of 131,741,568 channel bytes differ, by at most 1 (the
-- tones' rounding); ink boxes identical

-- ./vriffle -b at three sizes
(the run the README's table is from)
960×540 frames, 202 buffers, 206 glyphs
page still, cached, background moving                0.21 ms   2.47 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.21 ms
page still, from scratch                             0.63 ms   0.83 Gpx/s   layout 0.16, glyphs 0.16, compositing 0.30 ms
a page a frame, glyphs cached                        0.56 ms   0.93 Gpx/s   layout 0.17, glyphs 0.01, compositing 0.38 ms
zooming 8-48 px, weight and hollowness changing      0.79 ms   0.65 Gpx/s   layout 0.15, glyphs 0.25, compositing 0.40 ms
memcpy, frame to frame                               0.35 ms   1.47 Gpx/s
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.16 ms   1.79 Gpx/s   layout 0.00, glyphs 0.00, compositing 1.16 ms
page still, from scratch                             1.57 ms   1.32 Gpx/s   layout 0.42, glyphs 0.21, compositing 0.95 ms
a page a frame, glyphs cached                        1.50 ms   1.38 Gpx/s   layout 0.42, glyphs 0.02, compositing 1.06 ms
zooming 8-48 px, weight and hollowness changing      1.50 ms   1.38 Gpx/s   layout 0.43, glyphs 0.29, compositing 0.79 ms
memcpy, frame to frame                               0.97 ms   2.14 Gpx/s
3840×2160 frames, 12 buffers, 206 glyphs
page still, cached, background moving                3.31 ms   2.50 Gpx/s   layout 0.00, glyphs 0.00, compositing 3.31 ms
page still, from scratch                             4.62 ms   1.80 Gpx/s   layout 1.47, glyphs 0.36, compositing 2.79 ms
a page a frame, glyphs cached                        4.16 ms   1.99 Gpx/s   layout 1.38, glyphs 0.07, compositing 2.71 ms
zooming 8-48 px, weight and hollowness changing      7.63 ms   1.09 Gpx/s   layout 1.68, glyphs 0.58, compositing 5.37 ms
memcpy, frame to frame                               6.64 ms   1.25 Gpx/s
(and another, a few minutes later)
960×540 frames, 202 buffers, 206 glyphs
page still, cached, background moving                0.15 ms   3.44 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.15 ms
page still, from scratch                             0.38 ms   1.35 Gpx/s   layout 0.10, glyphs 0.12, compositing 0.16 ms
a page a frame, glyphs cached                        0.27 ms   1.94 Gpx/s   layout 0.10, glyphs 0.01, compositing 0.16 ms
zooming 8-48 px, weight and hollowness changing      0.44 ms   1.17 Gpx/s   layout 0.09, glyphs 0.16, compositing 0.18 ms
memcpy, frame to frame                               0.23 ms   2.21 Gpx/s
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                0.63 ms   3.32 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.62 ms
page still, from scratch                             1.33 ms   1.56 Gpx/s   layout 0.38, glyphs 0.20, compositing 0.75 ms
a page a frame, glyphs cached                        1.63 ms   1.27 Gpx/s   layout 0.40, glyphs 0.02, compositing 1.21 ms
zooming 8-48 px, weight and hollowness changing      1.75 ms   1.19 Gpx/s   layout 0.41, glyphs 0.28, compositing 1.05 ms
memcpy, frame to frame                               1.17 ms   1.77 Gpx/s
3840×2160 frames, 12 buffers, 206 glyphs
page still, cached, background moving                4.31 ms   1.92 Gpx/s   layout 0.00, glyphs 0.00, compositing 4.31 ms
page still, from scratch                             5.75 ms   1.44 Gpx/s   layout 1.56, glyphs 0.39, compositing 3.79 ms
a page a frame, glyphs cached                        4.33 ms   1.91 Gpx/s   layout 1.39, glyphs 0.07, compositing 2.87 ms
zooming 8-48 px, weight and hollowness changing      5.06 ms   1.64 Gpx/s   layout 1.54, glyphs 0.53, compositing 3.00 ms
memcpy, frame to frame                               4.12 ms   2.02 Gpx/s

-- window under Xvfb, 1280x800: the demo with vsync, then vsync off paging and zooming, from scratch
1280×800 at 60 fps with vsync · from scratch, a frame in 0.90 ms (layout 0.29, glyphs 0.29, compositing 0.33): 1.14 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 1.07 ms (layout 0.30, glyphs 0.37, compositing 0.40): 0.96 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 0.82 ms (layout 0.19, glyphs 0.27, compositing 0.35): 1.25 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 60 fps with vsync · from scratch, a frame in 0.89 ms (layout 0.17, glyphs 0.28, compositing 0.44): 1.15 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 780 fps · from scratch, a frame in 0.76 ms (layout 0.18, glyphs 0.22, compositing 0.35): 1.35 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 663 fps · from scratch, a frame in 0.96 ms (layout 0.20, glyphs 0.25, compositing 0.50): 1.07 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 753 fps · from scratch, a frame in 0.79 ms (layout 0.16, glyphs 0.20, compositing 0.43): 1.30 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 557 fps · from scratch, a frame in 1.02 ms (layout 0.06, glyphs 0.37, compositing 0.59): 1.01 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s
1280×800 at 543 fps · from scratch, a frame in 0.93 ms (layout 0.07, glyphs 0.25, compositing 0.61): 1.10 Gpx/s · memcpy 0.27 ms: 3.79 Gpx/s

==== 2026-11-23, evening: layout without library calls per glyph; compositing taken apart ====

-- the user's Ryzen 5 3500U laptop (Debian, HPET clock source), vriffle-v3:
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.87 ms   1.11 Gpx/s   layout 0.00, glyphs 0.00, compositing 1.86 ms
page still, from scratch                             2.86 ms   0.72 Gpx/s   layout 0.64, glyphs 0.37, compositing 1.84 ms
a page a frame, glyphs cached                        2.52 ms   0.82 Gpx/s   layout 0.63, glyphs 0.04, compositing 1.85 ms
zooming 8-48 px, weight and hollowness changing      3.77 ms   0.55 Gpx/s   layout 0.70, glyphs 0.61, compositing 2.46 ms
memcpy, frame to frame                               1.02 ms   2.04 Gpx/s

-- dbg/layoutbench, a 4K page laid out from scratch at 20 px (492 lines, 22,952
-- glyphs): callgrind counts 11.7 M instructions a page before, 10.7 M after
-- (add_inst without lround, try_break without fmin, ASCII without utf8's call);
-- 1.26-1.40 ms a page here either way, within the VM's noise

-- dbg/ringsize: the bench's page, the text ring and the glyph images it reads
960x540: 19 rows of text, heading no; ring 32 rows x 5920 B = 185 KB; glyph images in use 225 KB; ink drawn 1.2 MB
1920x1080: 120 rows of text, heading no; ring 32 rows x 9760 B = 305 KB; glyph images in use 322 KB; ink drawn 4.9 MB
3840x2160: 502 rows of text, heading yes; ring 64 rows x 17440 B = 1090 KB; glyph images in use 586 KB; ink drawn 21.0 MB

-- this VM, two runs with the new lines
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.28 ms   1.62 Gpx/s   layout 0.00, glyphs 0.00, compositing 1.28 ms
page still, from scratch                             1.72 ms   1.20 Gpx/s   layout 0.38, glyphs 0.21, compositing 1.13 ms
a page a frame, glyphs cached                        1.54 ms   1.34 Gpx/s   layout 0.38, glyphs 0.02, compositing 1.14 ms
zooming 8-48 px, weight and hollowness changing      2.02 ms   1.03 Gpx/s   layout 0.39, glyphs 0.30, compositing 1.33 ms
page still, cached, on white                         0.78 ms   2.65 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.78 ms
no text, background moving                           0.35 ms   5.93 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.35 ms
no text, white                                       0.31 ms   6.77 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.31 ms
memcpy, frame to frame                               0.91 ms   2.29 Gpx/s
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                0.59 ms   3.52 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.59 ms
page still, from scratch                             1.19 ms   1.74 Gpx/s   layout 0.36, glyphs 0.20, compositing 0.63 ms
a page a frame, glyphs cached                        1.14 ms   1.81 Gpx/s   layout 0.38, glyphs 0.02, compositing 0.74 ms
zooming 8-48 px, weight and hollowness changing      1.47 ms   1.41 Gpx/s   layout 0.38, glyphs 0.29, compositing 0.80 ms
page still, cached, on white                         0.55 ms   3.78 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.55 ms
no text, background moving                           0.33 ms   6.20 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.33 ms
no text, white                                       0.31 ms   6.79 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.30 ms
memcpy, frame to frame                               0.90 ms   2.31 Gpx/s

==== 2026-11-23, night: the laptop on v4; wbench; v5's scanline loops ====

-- the user's Ryzen 5 3500U laptop, vriffle-v4, 1920x1080, ms a frame; two runs, the
-- second under perf stat -d. Transcribed from chat, not pasted.
                                                  run 1   run 2
page still, cached, background moving              1.74    1.86
page still, from scratch                           2.52    2.78   run 1: layout 0.54, glyphs 0.34, compositing 1.64
a page a frame, glyphs cached                      2.35    2.45
zooming 8-48 px, weight and hollowness changing    2.65    2.70
page still, cached, on white                       1.54    1.58
no text, background moving                         1.16    1.36
no text, white                                     1.24    1.17
memcpy, frame to frame                             0.71    0.70

-- perf stat -d over run 2: 14.5 G cycles at 3.54 GHz, 21.3 G instructions (1.47 a
-- cycle); stalled-cycles-frontend 1.8%, stalled-cycles-backend 40.7%; branch misses
-- 1.8%; L1-dcache-loads 13.2 G, L1-dcache-load-misses 603 M (4.6%); 28,596 page faults

-- wbench on the laptop, ms a 1080p frame (transcribed)
streaming, 32 bytes a store        0.25  32.7 GB/s
streaming, 16 bytes a store        0.27
ordinary stores                    1.06  (1.09 in the second round)
streaming, two scanlines at once   0.26  (0.31 in the second round)
streaming, four pages at once      0.25
rep stosb                          1.02
memset                             0.97
memcpy, frame to frame             0.78  10.7 GB/s written

-- wbench v2 on this VM, with the aliasing tests (9-16), a slow phase
1920×1080 frames of 32-bit pixels, 8.3 MB each
 1 streaming, 32 bytes a store (vriffle's way)       0.32 ms   26.1 GB/s written
 2 streaming, 16 bytes a store                       0.32 ms   25.9 GB/s written
 3 ordinary stores                                   0.94 ms    8.9 GB/s written
 4 streaming, two scanlines at once                  0.32 ms   26.2 GB/s written
 5 streaming, four pages at once                     0.32 ms   26.0 GB/s written
 6 rep stosb                                         0.83 ms   10.0 GB/s written
 7 memset                                            0.83 ms   10.0 GB/s written
 8 memcpy, frame to frame                            0.89 ms    9.3 GB/s written
 9 streaming, a load from one place each line        0.30 ms   27.4 GB/s written
10 streaming, loads from two places each store       0.30 ms   27.4 GB/s written
11 streaming from L1, 64 bytes behind mod 4096       0.30 ms   27.3 GB/s written
12 streaming from L1, 32 bytes behind mod 4096       0.31 ms   26.4 GB/s written
13 streaming from L1, at the same offset mod 4096    0.30 ms   27.4 GB/s written
14 streaming from L1, 2048 bytes away mod 4096       0.30 ms   27.3 GB/s written
15 streaming from L1, wherever it falls              0.30 ms   27.3 GB/s written
16 streaming from L1, 2048 bytes away, rewriting it  0.32 ms   25.7 GB/s written


-- this VM: v4 against v5, whose scanline is four specialized loops, alternating; all
-- seven stills byte-identical
old (v4), run 1:
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.14 ms   1.81 Gpx/s   layout 0.00, glyphs 0.00, compositing 1.14 ms
page still, from scratch                             1.53 ms   1.35 Gpx/s   layout 0.38, glyphs 0.21, compositing 0.94 ms
a page a frame, glyphs cached                        1.23 ms   1.68 Gpx/s   layout 0.39, glyphs 0.02, compositing 0.82 ms
zooming 8-48 px, weight and hollowness changing      1.51 ms   1.37 Gpx/s   layout 0.39, glyphs 0.28, compositing 0.84 ms
page still, cached, on white                         0.58 ms   3.58 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.58 ms
no text, background moving                           0.42 ms   4.93 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.42 ms
no text, white                                       0.35 ms   5.97 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.35 ms
memcpy, frame to frame                               0.99 ms   2.10 Gpx/s
new (v5), run 1:
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                0.55 ms   3.75 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.55 ms
page still, from scratch                             1.12 ms   1.85 Gpx/s   layout 0.35, glyphs 0.20, compositing 0.58 ms
a page a frame, glyphs cached                        0.97 ms   2.13 Gpx/s   layout 0.34, glyphs 0.02, compositing 0.61 ms
zooming 8-48 px, weight and hollowness changing      1.44 ms   1.44 Gpx/s   layout 0.38, glyphs 0.30, compositing 0.76 ms
page still, cached, on white                         0.55 ms   3.74 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.55 ms
no text, background moving                           0.39 ms   5.32 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.39 ms
no text, white                                       0.34 ms   6.09 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.34 ms
memcpy, frame to frame                               1.04 ms   1.99 Gpx/s
old (v4), run 2:
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                0.83 ms   2.51 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.83 ms
page still, from scratch                             1.24 ms   1.68 Gpx/s   layout 0.37, glyphs 0.21, compositing 0.66 ms
a page a frame, glyphs cached                        1.02 ms   2.04 Gpx/s   layout 0.35, glyphs 0.02, compositing 0.65 ms
zooming 8-48 px, weight and hollowness changing      1.36 ms   1.53 Gpx/s   layout 0.36, glyphs 0.27, compositing 0.73 ms
page still, cached, on white                         0.52 ms   3.95 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.52 ms
no text, background moving                           0.34 ms   6.12 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.34 ms
no text, white                                       0.31 ms   6.75 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.31 ms
memcpy, frame to frame                               1.00 ms   2.07 Gpx/s
new (v5), run 2:
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                0.55 ms   3.74 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.55 ms
page still, from scratch                             1.30 ms   1.60 Gpx/s   layout 0.38, glyphs 0.22, compositing 0.69 ms
a page a frame, glyphs cached                        1.20 ms   1.73 Gpx/s   layout 0.36, glyphs 0.02, compositing 0.81 ms
zooming 8-48 px, weight and hollowness changing      1.53 ms   1.35 Gpx/s   layout 0.36, glyphs 0.28, compositing 0.89 ms
page still, cached, on white                         0.70 ms   2.95 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.70 ms
no text, background moving                           0.54 ms   3.83 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.54 ms
no text, white                                       0.73 ms   2.85 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.73 ms
memcpy, frame to frame                               1.45 ms   1.43 Gpx/s

==== 2026-11-23, evening: v5 on the laptop; wbench's aliasing tests and counters ====

-- the user's Ryzen 5 3500U laptop, vriffle-v5 (pasted)
1920×1080 frames, 50 buffers, 206 glyphs
page still, cached, background moving                1.02 ms   2.04 Gpx/s   layout 0.00, glyphs 0.00, compositing 1.01 ms
page still, from scratch                             1.93 ms   1.08 Gpx/s   layout 0.56, glyphs 0.37, compositing 1.00 ms
a page a frame, glyphs cached                        1.61 ms   1.29 Gpx/s   layout 0.56, glyphs 0.04, compositing 1.01 ms
zooming 8-48 px, weight and hollowness changing      2.21 ms   0.94 Gpx/s   layout 0.54, glyphs 0.51, compositing 1.15 ms
page still, cached, on white                         0.82 ms   2.54 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.81 ms
no text, background moving                           0.39 ms   5.35 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.38 ms
no text, white                                       0.29 ms   7.18 Gpx/s   layout 0.00, glyphs 0.00, compositing 0.28 ms
memcpy, frame to frame                               0.72 ms   2.87 Gpx/s

-- wbench v2 on the laptop (pasted; first round, the second agreeing within 0.1 ms)
 1 streaming, 32 bytes a store (vriffle's way)       0.25 ms   33.0 GB/s written
 2 streaming, 16 bytes a store                       0.28 ms   29.3 GB/s written
 3 ordinary stores                                   1.05 ms    7.9 GB/s written
 4 streaming, two scanlines at once                  0.26 ms   32.3 GB/s written
 5 streaming, four pages at once                     0.27 ms   31.1 GB/s written
 6 rep stosb                                         0.98 ms    8.5 GB/s written
 7 memset                                            1.01 ms    8.2 GB/s written
 8 memcpy, frame to frame                            0.77 ms   10.8 GB/s written
 9 streaming, a load from one place each line        0.26 ms   32.4 GB/s written
10 streaming, loads from two places each store       0.26 ms   31.5 GB/s written
11 streaming from L1, 64 bytes behind mod 4096       0.68 ms   12.2 GB/s written
12 streaming from L1, 32 bytes behind mod 4096       1.36 ms    6.1 GB/s written
13 streaming from L1, at the same offset mod 4096    0.25 ms   32.6 GB/s written
14 streaming from L1, 2048 bytes away mod 4096       0.28 ms   30.0 GB/s written
15 streaming from L1, wherever it falls              0.27 ms   30.3 GB/s written
16 streaming from L1, 2048 bytes away, rewriting it  0.33 ms   24.9 GB/s written

-- perf stat -e cycles,instructions,r4063,r2063,r0224,r0137 ./wbench N on the laptop
-- (each run: 576 frames, 2 x (48 + 240), plus setup); r4063 = l2_wcb_req.wcb_write,
-- r2063 = l2_wcb_req.wcb_close, r0224 = ls_bad_status2.stli_other,
-- r0137 = ls_st_commit_cancel2.st_commit_cancel_wcb_full
test   cycles   instructions   IPC    r4063    r2063    r0224    r0137
 1     1046 M      520 M       0.50   308 M    73.7 M   0.069 M  0.949 M
10      994 M     1634 M       1.64   295 M    72.5 M   35.6 M   5.41 M
12     3330 M      906 M       0.27   298 M    75.1 M   300 M    0.004 M
13     1022 M      911 M       0.89   306 M    75.4 M   0.070 M  0.384 M
13     1071 M      894 M       0.83   296 M    72.8 M   0.063 M  0.386 M
-- 576 frames are 299 M 16-byte stores and 74.6 M 64-byte lines: r4063 counts the
-- halves of 32-byte streaming stores, r2063 one close a line; in test 12, r0224
-- counts both halves of every 32-byte load.
