summaryrefslogtreecommitdiff
path: root/test/perf-baseline-tty-fast.json
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 10:46:16 -0300
committerGabriel Schneider <[email protected]>2026-10-29 14:30:01 -0300
commit97f83717cf8be3e4eedd3f7b932766c1cf72fd37 (patch)
tree5013e0352b48bbd5d1a9154e7686c1a87a0a0da3 /test/perf-baseline-tty-fast.json
parent791d0447aa2bdd4fe4ae0c76052e09acca4c61f2 (diff)
downloadpardes-97f83717cf8be3e4eedd3f7b932766c1cf72fd37.tar.gz
pardes-97f83717cf8be3e4eedd3f7b932766c1cf72fd37.zip
perf --live: keystroke-to-present through the real tty and GUI, `yes | head -c 1G` through a real pty, and a big file's open
The baseline the daemon work is measured against (docs/next-daemon.md). `pardes-perf --live <pardes>` runs the real tty binary in a pty (test/e2e_harness.zig, as the snapshot harness does): FrameStats.keys's gestures (key-down, key-right, edit-char, page-down, wheel) on the 50k-line fixture, a phase each, each frame's latency from the shell taking the input off its queue to the end of its present, read back from the session's PARDES_FRAMES dump; `yes | head -c 1G` typed into a bash pane in tty mode, wall time to the mark after it and the frames drawn; and a 1,000,000-line file opened on the command line, wall time to its first line on screen. `--live-gui <pardes-gui>` runs the same gestures as the GUI's own timedemo (PARDES_FRAMES_DEMO=keys) in a hidden test window. p50 and p99 per phase, pooled over --reps runs; text or --json. Each run has a private home (bash with a `$ ` prompt), XDG_RUNTIME_DIR and fixtures under $TMPDIR, all removed after. The frames dump now says the monotonic time of its first frame (`# t0_ns`), so a driver lines its own phase times up with the frames'. The perf gate's baselines (test/perf-baseline-{tty-debug,tty-fast,gui-debug}.json) are recorded again: the harness id is perf.zig's hash, and the medium cells came out within about 10% of the old ones (edit-char and edit-twin faster). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/perf-baseline-tty-fast.json')
-rw-r--r--test/perf-baseline-tty-fast.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/perf-baseline-tty-fast.json b/test/perf-baseline-tty-fast.json
index bd8f32dc..c8d0ed78 100644
--- a/test/perf-baseline-tty-fast.json
+++ b/test/perf-baseline-tty-fast.json
@@ -1 +1 @@
-{"harness":"442f274a5da9136c","build":{"compiler":"0.17.0","target":"x86_64-linux.5.10...7.2-gnu.2.38","cpu":"x86_64","driver_optimize":"fast","core_optimize":"fast","c_optimize":"fast","terminal_optimize":"fast","platform":"tty","grammars":"full","mupdf":true,"jpx":true,"tracy":false,"quic":false,"theme_animation":true,"terminal_simd":true,"prebuilt_shaders":false},"cols":120,"rows":40,"reps":10,"only":"medium","fixtures":[{"name":"small","lines":1000,"cols":60,"bytes":62694},{"name":"medium","lines":50000,"cols":60,"bytes":3201944},{"name":"large","lines":300000,"cols":60,"bytes":19464444},{"name":"longline","lines":400,"cols":8000,"bytes":3200400},{"name":"esp32p4","lines":12,"cols":240,"bytes":2892}],"cells":[{"op":"open","fixture":"medium","min_us":2283,"med_us":2611,"p90_us":2812,"max_us":2917},{"op":"render","fixture":"medium","min_us":89,"med_us":97,"p90_us":105,"max_us":119},{"op":"key-down","fixture":"medium","min_us":88,"med_us":95,"p90_us":100,"max_us":116},{"op":"key-right","fixture":"medium","min_us":90,"med_us":99,"p90_us":103,"max_us":106},{"op":"page-down","fixture":"medium","min_us":86,"med_us":90,"p90_us":96,"max_us":97},{"op":"wheel","fixture":"medium","min_us":85,"med_us":91,"p90_us":94,"max_us":101},{"op":"edit-char","fixture":"medium","min_us":1229,"med_us":1823,"p90_us":1874,"max_us":2101},{"op":"edit-twin","fixture":"medium","min_us":2196,"med_us":2745,"p90_us":2928,"max_us":2972},{"op":"body-2m","fixture":"medium","min_us":5606,"med_us":10369,"p90_us":14063,"max_us":14406},{"op":"body-appends","fixture":"medium","min_us":155867,"med_us":237195,"p90_us":289128,"max_us":306283},{"op":"deep-sel","fixture":"medium","min_us":82,"med_us":84,"p90_us":86,"max_us":91}]}
+{"harness":"418270d16a91d1f9","build":{"compiler":"0.17.0","target":"x86_64-linux.5.10...7.2-gnu.2.38","cpu":"x86_64","driver_optimize":"fast","core_optimize":"fast","c_optimize":"fast","terminal_optimize":"fast","platform":"tty","grammars":"full","mupdf":true,"jpx":true,"tracy":false,"quic":false,"theme_animation":true,"terminal_simd":true,"prebuilt_shaders":false},"cols":120,"rows":40,"reps":10,"only":"medium","fixtures":[{"name":"small","lines":1000,"cols":60,"bytes":62694},{"name":"medium","lines":50000,"cols":60,"bytes":3201944},{"name":"large","lines":300000,"cols":60,"bytes":19464444},{"name":"longline","lines":400,"cols":8000,"bytes":3200400},{"name":"esp32p4","lines":12,"cols":240,"bytes":2892}],"cells":[{"op":"open","fixture":"medium","min_us":2341,"med_us":2633,"p90_us":3392,"max_us":5686},{"op":"render","fixture":"medium","min_us":87,"med_us":100,"p90_us":112,"max_us":114},{"op":"key-down","fixture":"medium","min_us":89,"med_us":93,"p90_us":98,"max_us":99},{"op":"key-right","fixture":"medium","min_us":94,"med_us":101,"p90_us":110,"max_us":113},{"op":"page-down","fixture":"medium","min_us":91,"med_us":98,"p90_us":105,"max_us":106},{"op":"wheel","fixture":"medium","min_us":89,"med_us":97,"p90_us":103,"max_us":109},{"op":"edit-char","fixture":"medium","min_us":1055,"med_us":1950,"p90_us":2385,"max_us":2911},{"op":"edit-twin","fixture":"medium","min_us":1021,"med_us":1470,"p90_us":1966,"max_us":2153},{"op":"body-2m","fixture":"medium","min_us":5050,"med_us":11673,"p90_us":14865,"max_us":18117},{"op":"body-appends","fixture":"medium","min_us":209537,"med_us":316775,"p90_us":360616,"max_us":365634},{"op":"deep-sel","fixture":"medium","min_us":84,"med_us":118,"p90_us":143,"max_us":150}]}