cat / 012
clone

a spreadsheet for the terminal: lotus 1-2-3 looks, google sheets keys and formulas, one go binary

Bounds: a frame of data bars and icons (BenchmarkFrame bars-8192x26)

Dami committed 1e399dd
Measured on this machine (median of 6, 200 frames each): a frame of
8192 x 26 numbers under a data bar and an icon set, every visible cell
drawn with one, takes 0.54 / 3.7 / 11.4 ms at 80x24 / 200x60 / 400x120,
against 0.18 / 0.89 / 3.1 ms for the same numbers plain. Against main,
frames of sheets without any of it moved by +2.3% to +3.6% (dense), and
of laid-out and color-scaled sheets by +1.5% to +3.3%; the style the
grid reads per cell is four bytes larger, for vertical alignment and
border colors. The entry's check and the column width a rule's drawing
needs are skipped on cells without one.
commit
1e399dd7be22ccf6b94405556d560bc8387cf6a0
parent
e1ce9dfeb19d46beb18ea0a5ecfebc0d5c42524e
author
Dami <dami.etoile@gmail.com>
kind
test risk score 1.3 of 3, Jev's estimate
3 files changed, +26 -4
Minternal/ui/gridlines.go2+-
Minternal/ui/stress_test.go23+++++++++++++++++++++++
Minternal/ui/view.go5++---
M internal/ui/gridlines.go +1 -1
M internal/ui/stress_test.go +23 -0
M internal/ui/view.go +2 -3