From b5f8c6d173ccebefb6f08192873a96bcc9f86cd9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:53:14 -0300 Subject: FrameStats: the timedemos leave the binary: PARDES_FRAMES_DEMO names a text script (parseScript: ` [x] ` a line, a wheel, touch, key, keys, phase, click, rail_wheel, paste, exec or end), the fifteen compiled ones are tools/demos/*.txt, each read back step for step identical to its builder before the builders went (11,401 steps the binary no longer carries: the Debug binary's .data.rel.ro 8,566,256 to 7,944,088 bytes, an idle detached session's RSS 38.3 to 37.3 MB), and the keystroke one is test/perf.zig's own data, parsed for its tty and written beside its files for its window; a window whose script does not read does not start; a test reads every script in tools/demos Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- tools/demos/clip-cursor.txt | 9 ++ tools/demos/clip-far.txt | 5 + tools/demos/clip-flick.txt | 4 + tools/demos/clip-pages.txt | 3 + tools/demos/clip-query.txt | 5 + tools/demos/clip-terminal.txt | 6 ++ tools/demos/jumps.txt | 101 ++++++++++++++++++++ tools/demos/kinds.txt | 216 ++++++++++++++++++++++++++++++++++++++++++ tools/demos/longlines.txt | 150 +++++++++++++++++++++++++++++ tools/demos/one.txt | 11 +++ tools/demos/panes.txt | 91 ++++++++++++++++++ tools/demos/pdf-scroll.txt | 22 +++++ tools/demos/pdf-sdm.txt | 24 +++++ tools/demos/scroll.txt | 25 +++++ tools/demos/stress.txt | 24 +++++ 15 files changed, 696 insertions(+) create mode 100644 tools/demos/clip-cursor.txt create mode 100644 tools/demos/clip-far.txt create mode 100644 tools/demos/clip-flick.txt create mode 100644 tools/demos/clip-pages.txt create mode 100644 tools/demos/clip-query.txt create mode 100644 tools/demos/clip-terminal.txt create mode 100644 tools/demos/jumps.txt create mode 100644 tools/demos/kinds.txt create mode 100644 tools/demos/longlines.txt create mode 100644 tools/demos/one.txt create mode 100644 tools/demos/panes.txt create mode 100644 tools/demos/pdf-scroll.txt create mode 100644 tools/demos/pdf-sdm.txt create mode 100644 tools/demos/scroll.txt create mode 100644 tools/demos/stress.txt (limited to 'tools') diff --git a/tools/demos/clip-cursor.txt b/tools/demos/clip-cursor.txt new file mode 100644 index 00000000..6053b14f --- /dev/null +++ b/tools/demos/clip-cursor.txt @@ -0,0 +1,9 @@ +# clip-cursor: a sample's scene: j held, then the thin caret typing and +# arrowing. +1200 45x33 key j +2985 1x300 keys i t +3345 1x60 keys h e space q u i c k space b r o w n space f o x space j u m p s left +4855 9x70 key left +5485 key up +5575 1x90 keys up up up escape +7045 end diff --git a/tools/demos/clip-far.txt b/tools/demos/clip-far.txt new file mode 100644 index 00000000..c3cb5532 --- /dev/null +++ b/tools/demos/clip-far.txt @@ -0,0 +1,5 @@ +# clip-far: a sample's scene: Ctrl-d held, then ge and gg. +1200 36x33 key ^d +2988 1x20 keys g e +3908 2x20 key g +5628 end diff --git a/tools/demos/clip-flick.txt b/tools/demos/clip-flick.txt new file mode 100644 index 00000000..1a1a6ed4 --- /dev/null +++ b/tools/demos/clip-flick.txt @@ -0,0 +1,4 @@ +# clip-flick: a sample's scene (docs/next-anim.md, recorded with +# PARDES_FRAMES_CAPTURE): a wheel spun hard. +1200 150x12 wheel 1 +3800 end diff --git a/tools/demos/clip-pages.txt b/tools/demos/clip-pages.txt new file mode 100644 index 00000000..b46cc4f5 --- /dev/null +++ b/tools/demos/clip-pages.txt @@ -0,0 +1,3 @@ +# clip-pages: a sample's scene: Ctrl-f a page at a time. +1200 8x450 key ^f +5600 end diff --git a/tools/demos/clip-query.txt b/tools/demos/clip-query.txt new file mode 100644 index 00000000..47781f9b --- /dev/null +++ b/tools/demos/clip-query.txt @@ -0,0 +1,5 @@ +# clip-query: a sample's scene: a / typed and its places stepped with +# Ctrl-n. +1200 1x180 keys / p a n e . +2580 8x300 key ^n +5780 end diff --git a/tools/demos/clip-terminal.txt b/tools/demos/clip-terminal.txt new file mode 100644 index 00000000..d6124f85 --- /dev/null +++ b/tools/demos/clip-terminal.txt @@ -0,0 +1,6 @@ +# clip-terminal: a sample's scene: a command's output, then the wheel over +# it. +1200 exec cat stress.zig +3000 60x16 wheel -1 +4360 12x150 wheel 1 +6960 end diff --git a/tools/demos/jumps.txt b/tools/demos/jumps.txt new file mode 100644 index 00000000..97189105 --- /dev/null +++ b/tools/demos/jumps.txt @@ -0,0 +1,101 @@ +# jumps: every other way a view moves, each its own phase, on the session's +# file (a big one) and then on a small one: the counted jumps (12G, 9000G, +# gg), the upward pages, a search's n/N, a query's Ctrl-n moving its owner's +# view, *, Looks at :40, at a far line and at another file (a new pane: +# nothing to glide from), the jumplist both ways, the rail's buttons and the +# wheel over it, and insert mode: typing, arrows, Enter at the bottom of the +# view, a 200-line paste. +1500 phase counted-G-big +1500 1x20 keys 1 2 G +2260 1x20 keys 3 0 0 G +3040 1x20 keys 9 0 0 0 G +3840 2x20 key g +4580 1x20 keys g e +5320 2x20 key g +6060 phase pages-up-big +6060 1x700 keys g e ^u +7960 1x500 keys ^u ^u ^b ^b ^b page_up page_up page_up +11960 phase search-n-big +11960 1x700 keys g g / +13480 1x120 keys c o n s t space enter +14800 1x400 keys n n n n n n N N N N N N +19600 phase rail-big +19600 1x700 keys g e +21000 click left 0.8 rail +21600 click left 0.3 rail +22200 click right 0.6 rail +22800 click right 0.9 rail +23400 click middle 0.5 rail +24000 8x120 rail_wheel 1 +25460 phase query-ctrl-n-big +25460 1x120 keys / p u b space f n ^n +26550 1x250 keys ^n ^n ^n ^n ^n ^n ^n ^p ^p ^p ^p escape +30000 phase star-big +30000 1x300 keys g g w w * n +32000 3x500 key n +33500 phase look-big +33500 exec Look :40 +34400 exec Look :7000 +35300 exec Look :200 +36200 phase jumplist-big +36200 1x600 keys ^o ^o ^o ^i ^i ^i space +39840 1x40 keys j o +40520 1x40 keys space j i +41240 phase insert-big +41240 1x300 keys g g i t +42185 1x45 keys h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space left +45800 11x60 key left +46460 12x60 key right +47180 1x60 keys down down down down down down enter +47610 59x70 key enter +51740 paste a pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\n +52340 key escape +53040 exec Look kinds/guide.typ +54240 phase counted-G-small +54240 1x20 keys 1 2 G +55000 1x20 keys 3 0 0 G +55780 1x20 keys 9 0 0 0 G +56580 2x20 key g +57320 1x20 keys g e +58060 2x20 key g +58800 phase pages-up-small +58800 1x700 keys g e ^u +60700 1x500 keys ^u ^u ^b ^b ^b page_up page_up page_up +64700 phase search-n-small +64700 1x700 keys g g / +66220 1x120 keys c o n s t space enter +67540 1x400 keys n n n n n n N N N N N N +72340 phase rail-small +72340 1x700 keys g e +73740 click left 0.8 rail +74340 click left 0.3 rail +74940 click right 0.6 rail +75540 click right 0.9 rail +76140 click middle 0.5 rail +76740 8x120 rail_wheel 1 +78200 phase query-ctrl-n-small +78200 1x120 keys / p u b space f n ^n +79290 1x250 keys ^n ^n ^n ^n ^n ^n ^n ^p ^p ^p ^p escape +82740 phase star-small +82740 1x300 keys g g w w * n +84740 3x500 key n +86240 phase look-small +86240 exec Look :40 +87140 exec Look :7000 +88040 exec Look :200 +88940 phase jumplist-small +88940 1x600 keys ^o ^o ^o ^i ^i ^i space +92580 1x40 keys j o +93260 1x40 keys space j i +93980 phase insert-small +93980 1x300 keys g g i t +94925 1x45 keys h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space t h e space q u i c k space b r o w n space f o x space left +98540 11x60 key left +99200 12x60 key right +99920 1x60 keys down down down down down down enter +100350 59x70 key enter +104480 paste a pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\na pasted line, one of two hundred\n +105080 key escape +105780 phase look-new-pane +105780 exec Look ../../src/layout.zig:9000 +107280 end diff --git a/tools/demos/kinds.txt b/tools/demos/kinds.txt new file mode 100644 index 00000000..f97e5707 --- /dev/null +++ b/tools/demos/kinds.txt @@ -0,0 +1,216 @@ +# kinds: each file of the corpus (.scratch/tools/corpus.sh) opened by name, +# relative to the first file's directory, and put through the scroll set +# (notches, a spin, half pages, PageDown held, the far jumps, the cursor +# down a held j); the long-line ones a second time with Wrap off. +1500 exec Look kinds/generated-parser.c +2700 phase generated-parser.c +2700 7x150 wheel 1 +3608 99x8 wheel 1 +4900 1x400 keys ^d ^d ^d page_down +6133 44x33 key page_down +7985 1x20 keys g e +8585 2x20 key g +9185 30x33 key j +10675 exec Del +11075 exec Look kinds/commands.rs +12275 phase commands.rs +12275 7x150 wheel 1 +13183 99x8 wheel 1 +14475 1x400 keys ^d ^d ^d page_down +15708 44x33 key page_down +17560 1x20 keys g e +18160 2x20 key g +18760 30x33 key j +20250 exec Del +20650 exec Look kinds/tables.py +21850 phase tables.py +21850 7x150 wheel 1 +22758 99x8 wheel 1 +24050 1x400 keys ^d ^d ^d page_down +25283 44x33 key page_down +27135 1x20 keys g e +27735 2x20 key g +28335 30x33 key j +29825 exec Del +30225 exec Look kinds/jquery.js +31425 phase jquery.js +31425 7x150 wheel 1 +32333 99x8 wheel 1 +33625 1x400 keys ^d ^d ^d page_down +34858 44x33 key page_down +36710 1x20 keys g e +37310 2x20 key g +37910 30x33 key j +39400 exec Del +39800 exec Look kinds/minified.js +41000 phase minified.js +41000 7x150 wheel 1 +41908 99x8 wheel 1 +43200 1x400 keys ^d ^d ^d page_down +44433 44x33 key page_down +46285 1x20 keys g e +46885 2x20 key g +47485 30x33 key j +48975 exec Del +49375 exec Look kinds/grammar.json +50575 phase grammar.json +50575 7x150 wheel 1 +51483 99x8 wheel 1 +52775 1x400 keys ^d ^d ^d page_down +54008 44x33 key page_down +55860 1x20 keys g e +56460 2x20 key g +57060 30x33 key j +58550 exec Del +58950 exec Look kinds/oneline.json +60150 phase oneline.json +60150 7x150 wheel 1 +61058 99x8 wheel 1 +62350 1x400 keys ^d ^d ^d page_down +63583 44x33 key page_down +65435 1x20 keys g e +66035 2x20 key g +66635 30x33 key j +68125 exec Del +68525 exec Look kinds/CHANGELOG.md +69725 phase CHANGELOG.md +69725 7x150 wheel 1 +70633 99x8 wheel 1 +71925 1x400 keys ^d ^d ^d page_down +73158 44x33 key page_down +75010 1x20 keys g e +75610 2x20 key g +76210 30x33 key j +77700 exec Del +78100 exec Look kinds/cascade.html +79300 phase cascade.html +79300 7x150 wheel 1 +80208 99x8 wheel 1 +81500 1x400 keys ^d ^d ^d page_down +82733 44x33 key page_down +84585 1x20 keys g e +85185 2x20 key g +85785 30x33 key j +87275 exec Del +87675 exec Look kinds/simdutf.cpp +88875 phase simdutf.cpp +88875 7x150 wheel 1 +89783 99x8 wheel 1 +91075 1x400 keys ^d ^d ^d page_down +92308 44x33 key page_down +94160 1x20 keys g e +94760 2x20 key g +95360 30x33 key j +96850 exec Del +97250 exec Look kinds/parser.ts +98450 phase parser.ts +98450 7x150 wheel 1 +99358 99x8 wheel 1 +100650 1x400 keys ^d ^d ^d page_down +101883 44x33 key page_down +103735 1x20 keys g e +104335 2x20 key g +104935 30x33 key j +106425 exec Del +106825 exec Look kinds/fcnal-test.sh +108025 phase fcnal-test.sh +108025 7x150 wheel 1 +108933 99x8 wheel 1 +110225 1x400 keys ^d ^d ^d page_down +111458 44x33 key page_down +113310 1x20 keys g e +113910 2x20 key g +114510 30x33 key j +116000 exec Del +116400 exec Look kinds/data.go +117600 phase data.go +117600 7x150 wheel 1 +118508 99x8 wheel 1 +119800 1x400 keys ^d ^d ^d page_down +121033 44x33 key page_down +122885 1x20 keys g e +123485 2x20 key g +124085 30x33 key j +125575 exec Del +125975 exec Look kinds/guide.typ +127175 phase guide.typ +127175 7x150 wheel 1 +128083 99x8 wheel 1 +129375 1x400 keys ^d ^d ^d page_down +130608 44x33 key page_down +132460 1x20 keys g e +133060 2x20 key g +133660 30x33 key j +135150 exec Del +135550 exec Look kinds/unicode.txt +136750 phase unicode.txt +136750 7x150 wheel 1 +137658 99x8 wheel 1 +138950 1x400 keys ^d ^d ^d page_down +140183 44x33 key page_down +142035 1x20 keys g e +142635 2x20 key g +143235 30x33 key j +144725 exec Del +145125 exec Look kinds/big.log +146325 phase big.log +146325 7x150 wheel 1 +147233 99x8 wheel 1 +148525 1x400 keys ^d ^d ^d page_down +149758 44x33 key page_down +151610 1x20 keys g e +152210 2x20 key g +152810 30x33 key j +154300 exec Del +154700 exec Look kinds/words.txt +155900 phase words.txt +155900 7x150 wheel 1 +156808 99x8 wheel 1 +158100 1x400 keys ^d ^d ^d page_down +159333 44x33 key page_down +161185 1x20 keys g e +161785 2x20 key g +162385 30x33 key j +163875 exec Del +164275 exec Look kinds/hugelines.txt +165475 phase hugelines.txt +165475 7x150 wheel 1 +166383 99x8 wheel 1 +167675 1x400 keys ^d ^d ^d page_down +168908 44x33 key page_down +170760 1x20 keys g e +171360 2x20 key g +171960 30x33 key j +173450 exec Del +173850 exec Wrap +174050 exec Look kinds/minified.js +175250 phase minified.js! +175250 7x150 wheel 1 +176158 99x8 wheel 1 +177450 1x400 keys ^d ^d ^d page_down +178683 44x33 key page_down +180535 1x20 keys g e +181135 2x20 key g +181735 30x33 key j +183225 exec Del +183625 exec Look kinds/oneline.json +184825 phase oneline.json! +184825 7x150 wheel 1 +185733 99x8 wheel 1 +187025 1x400 keys ^d ^d ^d page_down +188258 44x33 key page_down +190110 1x20 keys g e +190710 2x20 key g +191310 30x33 key j +192800 exec Del +193200 exec Look kinds/hugelines.txt +194400 phase hugelines.txt! +194400 7x150 wheel 1 +195308 99x8 wheel 1 +196600 1x400 keys ^d ^d ^d page_down +197833 44x33 key page_down +199685 1x20 keys g e +200285 2x20 key g +200885 30x33 key j +202375 exec Del +202775 end diff --git a/tools/demos/longlines.txt b/tools/demos/longlines.txt new file mode 100644 index 00000000..b56164d6 --- /dev/null +++ b/tools/demos/longlines.txt @@ -0,0 +1,150 @@ +# longlines: the cursor along long lines (a minified JS, a one-line JSON, +# six 360 KB lines), Wrap on and then off (off, the view scrolls sideways): +# w and e held, l held, $ and 0, f and t, gl and gh, typing at a line's end +# and in its middle, a selection swept with held L and W. +1500 exec Look kinds/minified.js +3000 2x400 key g +3800 phase w-held-minified.js-wrap +3800 60x33 key w +5780 phase e-held-minified.js-wrap +5780 60x33 key e +7760 phase l-held-minified.js-wrap +7760 90x33 key l +10730 phase dollar-zero-minified.js-wrap +10730 2x600 keys $ 0 +13130 phase f-t-minified.js-wrap +13130 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +17930 phase gl-gh-minified.js-wrap +17930 3x500 keys g l g h +23930 phase insert-end-minified.js-wrap +23930 1x300 keys $ a t +24575 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +26360 phase insert-middle-minified.js-wrap +26360 1x40 keys 0 4 0 0 0 0 l i +26940 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +29040 phase sweep-L-W-minified.js-wrap +29040 40x33 key L +30360 30x33 key W +31350 2x300 exec Del +32250 exec Look kinds/oneline.json +33750 2x400 key g +34550 phase w-held-oneline.json-wrap +34550 60x33 key w +36530 phase e-held-oneline.json-wrap +36530 60x33 key e +38510 phase l-held-oneline.json-wrap +38510 90x33 key l +41480 phase dollar-zero-oneline.json-wrap +41480 2x600 keys $ 0 +43880 phase f-t-oneline.json-wrap +43880 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +48680 phase gl-gh-oneline.json-wrap +48680 3x500 keys g l g h +54680 phase insert-end-oneline.json-wrap +54680 1x300 keys $ a t +55325 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +57110 phase insert-middle-oneline.json-wrap +57110 1x40 keys 0 4 0 0 0 0 l i +57690 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +59790 phase sweep-L-W-oneline.json-wrap +59790 40x33 key L +61110 30x33 key W +62100 2x300 exec Del +63000 exec Look kinds/hugelines.txt +64500 2x400 key g +65300 phase w-held-hugelines.txt-wrap +65300 60x33 key w +67280 phase e-held-hugelines.txt-wrap +67280 60x33 key e +69260 phase l-held-hugelines.txt-wrap +69260 90x33 key l +72230 phase dollar-zero-hugelines.txt-wrap +72230 2x600 keys $ 0 +74630 phase f-t-hugelines.txt-wrap +74630 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +79430 phase gl-gh-hugelines.txt-wrap +79430 3x500 keys g l g h +85430 phase insert-end-hugelines.txt-wrap +85430 1x300 keys $ a t +86075 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +87860 phase insert-middle-hugelines.txt-wrap +87860 1x40 keys 0 4 0 0 0 0 l i +88440 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +90540 phase sweep-L-W-hugelines.txt-wrap +90540 40x33 key L +91860 30x33 key W +92850 2x300 exec Del +93750 exec Wrap +94050 exec Look kinds/minified.js +95550 2x400 key g +96350 phase w-held-minified.js-nowrap +96350 60x33 key w +98330 phase e-held-minified.js-nowrap +98330 60x33 key e +100310 phase l-held-minified.js-nowrap +100310 90x33 key l +103280 phase dollar-zero-minified.js-nowrap +103280 2x600 keys $ 0 +105680 phase f-t-minified.js-nowrap +105680 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +110480 phase gl-gh-minified.js-nowrap +110480 3x500 keys g l g h +116480 phase insert-end-minified.js-nowrap +116480 1x300 keys $ a t +117125 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +118910 phase insert-middle-minified.js-nowrap +118910 1x40 keys 0 4 0 0 0 0 l i +119490 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +121590 phase sweep-L-W-minified.js-nowrap +121590 40x33 key L +122910 30x33 key W +123900 2x300 exec Del +124800 exec Look kinds/oneline.json +126300 2x400 key g +127100 phase w-held-oneline.json-nowrap +127100 60x33 key w +129080 phase e-held-oneline.json-nowrap +129080 60x33 key e +131060 phase l-held-oneline.json-nowrap +131060 90x33 key l +134030 phase dollar-zero-oneline.json-nowrap +134030 2x600 keys $ 0 +136430 phase f-t-oneline.json-nowrap +136430 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +141230 phase gl-gh-oneline.json-nowrap +141230 3x500 keys g l g h +147230 phase insert-end-oneline.json-nowrap +147230 1x300 keys $ a t +147875 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +149660 phase insert-middle-oneline.json-nowrap +149660 1x40 keys 0 4 0 0 0 0 l i +150240 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +152340 phase sweep-L-W-oneline.json-nowrap +152340 40x33 key L +153660 30x33 key W +154650 2x300 exec Del +155550 exec Look kinds/hugelines.txt +157050 2x400 key g +157850 phase w-held-hugelines.txt-nowrap +157850 60x33 key w +159830 phase e-held-hugelines.txt-nowrap +159830 60x33 key e +161810 phase l-held-hugelines.txt-nowrap +161810 90x33 key l +164780 phase dollar-zero-hugelines.txt-nowrap +164780 2x600 keys $ 0 +167180 phase f-t-hugelines.txt-nowrap +167180 1x150 keys f , f , f , f , f , f , f , f , t space t space t space t space t space t space t space t space +171980 phase gl-gh-hugelines.txt-nowrap +171980 3x500 keys g l g h +177980 phase insert-end-hugelines.txt-nowrap +177980 1x300 keys $ a t +178625 1x45 keys y p e d space a t space t h e space e n d space t y p e d space a t space t h e space e n d space escape +180410 phase insert-middle-hugelines.txt-nowrap +180410 1x40 keys 0 4 0 0 0 0 l i +180990 1x45 keys t y p e d space i n space t h e space m i d d l e space t y p e d space i n space t h e space m i d d l e space escape +183090 phase sweep-L-W-hugelines.txt-nowrap +183090 40x33 key L +184410 30x33 key W +185400 2x300 exec Del +186300 end diff --git a/tools/demos/one.txt b/tools/demos/one.txt new file mode 100644 index 00000000..acf310ca --- /dev/null +++ b/tools/demos/one.txt @@ -0,0 +1,11 @@ +# one: the scroll set alone, on the file the session opened: one kind, for a +# profiler's run. +1500 phase one +1500 7x150 wheel 1 +2408 99x8 wheel 1 +3700 1x400 keys ^d ^d ^d page_down +4933 44x33 key page_down +6785 1x20 keys g e +7385 2x20 key g +7985 30x33 key j +9475 end diff --git a/tools/demos/panes.txt b/tools/demos/panes.txt new file mode 100644 index 00000000..a2a74b1c --- /dev/null +++ b/tools/demos/panes.txt @@ -0,0 +1,91 @@ +# panes: the other kinds of pane, opened from the first file's directory, +# each put through the scroll set: a command's fast output (the stress file, +# then yes), a +Pager, a directory, a PDF, a picture, Help's output pane, a +# +Diff, and the query pane typed into (its rows refilled each key, its +# owner's places drawn). +1500 phase command-cat +1500 exec cat stress.zig +1800 7x150 wheel 1 +2708 99x8 wheel 1 +4000 1x400 keys ^d ^d ^d page_down +5233 44x33 key page_down +7085 1x20 keys g e +7685 2x20 key g +8285 30x33 key j +9775 exec Del +10375 phase command-yes +10375 exec yes | head -200000 +10675 7x150 wheel 1 +11583 99x8 wheel 1 +12875 1x400 keys ^d ^d ^d page_down +14108 44x33 key page_down +15960 1x20 keys g e +16560 2x20 key g +17160 30x33 key j +18650 exec Del +19250 phase pager +19250 exec cat stress.zig | pardes - +21750 7x150 wheel 1 +22658 99x8 wheel 1 +23950 1x400 keys ^d ^d ^d page_down +25183 44x33 key page_down +27035 1x20 keys g e +27635 2x20 key g +28235 30x33 key j +29725 exec Del +30325 phase directory +30325 exec Look kinds/ +31525 7x150 wheel 1 +32433 99x8 wheel 1 +33725 1x400 keys ^d ^d ^d page_down +34958 44x33 key page_down +36810 1x20 keys g e +37410 2x20 key g +38010 30x33 key j +39500 exec Del +40100 phase pdf +40100 exec Look ../../docs/design.pdf +42100 7x150 wheel 1 +43008 99x8 wheel 1 +44300 1x400 keys ^d ^d ^d page_down +45533 44x33 key page_down +47385 1x20 keys g e +47985 2x20 key g +48585 30x33 key j +50075 exec Del +50675 phase image +50675 exec Look ../../docs/screenshots/atelier.png +51875 7x150 wheel 1 +52783 99x8 wheel 1 +54075 1x400 keys ^d ^d ^d page_down +55308 44x33 key page_down +57160 1x20 keys g e +57760 2x20 key g +58360 30x33 key j +59850 exec Del +60450 phase help +60450 exec Help +61650 7x150 wheel 1 +62558 99x8 wheel 1 +63850 1x400 keys ^d ^d ^d page_down +65083 44x33 key page_down +66935 1x20 keys g e +67535 2x20 key g +68135 30x33 key j +69625 exec Del +70225 phase changelog +70225 exec Changelog +71425 7x150 wheel 1 +72333 99x8 wheel 1 +73625 1x400 keys ^d ^d ^d page_down +74858 44x33 key page_down +76710 1x20 keys g e +77310 2x20 key g +77910 30x33 key j +79400 exec Del +80000 phase query-typing +80000 1x300 keys / p +80450 1x150 keys a n e . v i e ^n +81620 11x120 key ^n +82940 key escape +83740 end diff --git a/tools/demos/pdf-scroll.txt b/tools/demos/pdf-scroll.txt new file mode 100644 index 00000000..0aa2316b --- /dev/null +++ b/tools/demos/pdf-scroll.txt @@ -0,0 +1,22 @@ +# pdf-scroll: a PDF's strip put through what moves it (anim 11): a wheel's +# notches, then spun; PageDown held; the far jumps ge and gg; a Look at a +# page and Back; then slow: a notch at a time, and a touchpad's drag a pixel +# or so a frame. +1500 exec Look ../../docs/design.pdf +3500 phase spin +3500 7x150 wheel 1 +4408 59x8 wheel 1 +5480 30x8 wheel -1 +6320 phase held-pagedown +6320 20x33 key page_down +7580 phase far-jump +7580 1x20 keys g e +8380 2x20 key g +9180 exec Look ../../docs/design.pdf:12 +9980 key ^o +10780 phase slow-notches +10780 8x300 wheel 1 +13180 phase slow-touch +13180 120x16 touch 0.06 +15700 phase done +15700 end diff --git a/tools/demos/pdf-sdm.txt b/tools/demos/pdf-sdm.txt new file mode 100644 index 00000000..00c4a50f --- /dev/null +++ b/tools/demos/pdf-sdm.txt @@ -0,0 +1,24 @@ +# pdf-sdm: the same, on a manual of 5363 pages (the Intel SDM, combined +# volumes, 27 MB: run where sdm.pdf is, a copy): its open, a wheel spun both +# ways, PageDown held five seconds, a far Look to page 3000 and Back, gg, a +# Look at page 4500, then slow notches and a touchpad's drag. +1500 phase open +1500 exec Look sdm.pdf +4500 phase spin +4500 7x150 wheel 1 +5408 59x8 wheel 1 +6480 30x8 wheel -1 +7320 phase held-pagedown +7320 150x33 key page_down +13070 phase far-jump +13070 exec Look sdm.pdf:3000 +14270 1x1200 keys ^o g +15490 key g +16670 phase look-deep +16670 exec Look sdm.pdf:4500 +18170 phase slow-notches +18170 8x300 wheel 1 +20570 phase slow-touch +20570 120x16 touch 0.06 +23090 phase done +23090 end diff --git a/tools/demos/scroll.txt b/tools/demos/scroll.txt new file mode 100644 index 00000000..adb64e73 --- /dev/null +++ b/tools/demos/scroll.txt @@ -0,0 +1,25 @@ +# scroll: every kind of scroll a user makes, on a long file from its top: +# single notches, a fast spin of the wheel both ways (notches 8 ms apart, +# two a frame: each retargets the one before), half pages, pages, the far +# jumps to the end (ge) and back (gg), half pages faster than they settle, +# and the cursor moving a line, a word and, in insert mode, a column at a +# time. +1500 phase notches +1500 10x150 wheel 1 +3400 phase spin +3400 24x8 wheel 1 +4392 24x8 wheel -1 +5384 phase pages +5384 1x600 keys ^d ^d ^d ^u ^u ^f ^b g +9604 1x780 keys e g +10404 key g +11184 phase retarget +11184 4x80 key ^d +12204 phase cursor +12204 10x60 key j +13204 10x90 key w +14504 1x300 keys i right +14864 7x60 key right +15584 8x100 key down +16684 key escape +17684 end diff --git a/tools/demos/stress.txt b/tools/demos/stress.txt new file mode 100644 index 00000000..54a7382d --- /dev/null +++ b/tools/demos/stress.txt @@ -0,0 +1,24 @@ +# stress: throughput on a big file (layout.zig x23, 30k lines): each input +# held for three seconds at a keyboard's repeat (33 ms) or a wheel spun hard +# (a notch every 8 ms), so the picture has to keep up with more than it can +# show: a spin, held Ctrl-d, held j, held PageDown, then the far jumps. +1500 2x20 key g +2300 phase spin +2300 375x8 wheel 1 +6300 2x20 key g +7100 phase held-ctrl-d +7100 91x33 key ^d +11103 2x20 key g +11903 phase held-j +11903 91x33 key j +15906 2x20 key g +16706 phase held-pagedown +16706 91x33 key page_down +20709 phase far +20709 1x20 keys g e +21409 2x20 key g +22109 1x20 keys g e +22809 2x20 key g +23509 1x20 keys g e +24209 2x20 key g +25409 end -- cgit v1.3