diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:53:14 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:21:29 -0300 |
| commit | b5f8c6d173ccebefb6f08192873a96bcc9f86cd9 (patch) | |
| tree | 895ef81f75b64e4167f3812391965b4e7fe8a8d7 /tools/demos/scroll.txt | |
| parent | dbdd21d8ebfaaedb5675a457aa385b97450237f5 (diff) | |
| download | pardes-b5f8c6d173ccebefb6f08192873a96bcc9f86cd9.tar.gz pardes-b5f8c6d173ccebefb6f08192873a96bcc9f86cd9.zip | |
FrameStats: the timedemos leave the binary: PARDES_FRAMES_DEMO names a text script (parseScript: `<ms> [<n>x<every>] <action>` 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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'tools/demos/scroll.txt')
| -rw-r--r-- | tools/demos/scroll.txt | 25 |
1 files changed, 25 insertions, 0 deletions
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 |
