kitty/tools/cmd/benchmark
Kovid Goyal 598cc8e27d
benchmark kitten: Add benchmarks for text with many distinct colors
Add truecolor_text, where every char has a random 24-bit foreground,
palette16_text, the same but with only 16 distinct colors, and
halfblocks, rows of half blocks with random 24-bit foreground and
background as written by terminal image viewers.

The existing benchmarks use either no colors or a handful of fixed
SGR codes, which favors terminals that store styles in a per page
deduplicated table rather than in each cell. These benchmarks measure
the cost of output with many distinct styles, which is common in
practice.
2026-11-18 08:26:42 +05:30
..
main.go benchmark kitten: Add benchmarks for text with many distinct colors 2026-11-18 08:26:42 +05:30