Skip to content

Instantly share code, notes, and snippets.

@bdmorin
Created December 30, 2024 22:53
Show Gist options
  • Save bdmorin/e1680fa9b846a5af572aee2068346c9c to your computer and use it in GitHub Desktop.
Save bdmorin/e1680fa9b846a5af572aee2068346c9c to your computer and use it in GitHub Desktop.
ghostty terminal torture results
https://github.com/termstandard/colors
perl ./color-spaces.pl
https://share.cleanshot.com/0msn6Rz6
24-bit-color.sh
https://share.cleanshot.com/vd4rfdF9
➜ uname -a
Darwin p0x.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 arm64
➜ nproc --all
12
➜ memory_pressure
The system has 19327352832 (1179648 pages with a page size of 16384).
Stats:
Pages free: 14689
Pages purgeable: 5813
Pages purged: 6319174
Swap I/O:
Swapins: 0
Swapouts: 0
Page Q counts:
Pages active: 271821
Pages inactive: 268802
Pages speculative: 429
Pages throttled: 0
Pages wired down: 282080
Compressor Stats:
Pages used by compressor: 299551
Pages decompressed: 14394223
Pages compressed: 18464491
File I/O:
Pageins: 4360201
Pageouts: 107261
System-wide memory free percentage: 48%
yes "test line" | head -n 100000
Scrollback performance was great, it's all subjective, I don't know how to generate data for scrollback performance.
clipboard
worked as expected
Kitten Graphics Protocol
https://share.cleanshot.com/2NlLprVM
https://github.com/chase/awrit
unreasonably cool that I can run a webbrowser in my terminal. I didn't even know about this prior to me torture testing ghostty
Ghostty doesn't recover from exiting from `awrit` but it does work.
https://share.cleanshot.com/9KYkY9tZ
displays images without issue
❯ identify ~/Downloads/CPU\ Utilization.png ~/Downloads/turkey4.png
~/Downloads/CPU Utilization.png PNG 1876x952 1876x952+0+0 8-bit sRGB 125758B 0.000u 0:00.000
~/Downloads/turkey4.png PNG 64x48 64x48+0+0 8-bit sRGB 5866B 0.000u 0:00.000
curl -s 'https://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt'
This isn't a test so much as a subjective visual review. I saw lots of characters I didn't realize, but I didn't see any characters that looked incorect.
https://share.cleanshot.com/BLw5gQ3q
Results:
dense_cells (858 samples @ 1 MiB):
11ms avg (90% < 12ms) +-1.44ms
medium_cells (524 samples @ 1.06 MiB):
18.38ms avg (90% < 19ms) +-1.61ms
scrolling (393 samples @ 1 MiB):
20.25ms avg (90% < 21ms) +-2.3ms
scrolling_bottom_region (332 samples @ 1 MiB):
29.55ms avg (90% < 31ms) +-3.43ms
scrolling_bottom_small_region (338 samples @ 1 MiB):
29.24ms avg (90% < 30ms) +-1.97ms
scrolling_fullscreen (282 samples @ 1 MiB):
30.5ms avg (90% < 32ms) +-0.89ms
scrolling_top_region (328 samples @ 1 MiB):
30.03ms avg (90% < 31ms) +-1.07ms
scrolling_top_small_region (337 samples @ 1 MiB):
29.28ms avg (90% < 30ms) +-0.83ms
unicode (1330 samples @ 1.06 MiB):
6.92ms avg (90% < 7ms) +-0.88ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment