mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-14 05:33:59 -04:00
doc: benchmarks: shell highlighting of vtebench commands
This commit is contained in:
parent
6b2a59110d
commit
09d10b6a48
1 changed files with 2 additions and 0 deletions
|
|
@ -4,11 +4,13 @@
|
||||||
|
|
||||||
All benchmarks are done using [vtebench](https://github.com/alacritty/vtebench):
|
All benchmarks are done using [vtebench](https://github.com/alacritty/vtebench):
|
||||||
|
|
||||||
|
```sh
|
||||||
vtebench -h $(tput lines) -w $(tput cols) -b 104857600 alt-screen-random-write > ~/alt-random
|
vtebench -h $(tput lines) -w $(tput cols) -b 104857600 alt-screen-random-write > ~/alt-random
|
||||||
vtebench -c -h $(tput lines) -w $(tput cols) -b 104857600 alt-screen-random-write > ~/alt-random-colors
|
vtebench -c -h $(tput lines) -w $(tput cols) -b 104857600 alt-screen-random-write > ~/alt-random-colors
|
||||||
vtebench -h $(tput lines) -w $(tput cols) -b 10485760 scrolling > ~/scrolling
|
vtebench -h $(tput lines) -w $(tput cols) -b 10485760 scrolling > ~/scrolling
|
||||||
vtebench -h $(tput lines) -w $(tput cols) -b 104857600 scrolling --fill-lines > ~/scrolling-filled-lines
|
vtebench -h $(tput lines) -w $(tput cols) -b 104857600 scrolling --fill-lines > ~/scrolling-filled-lines
|
||||||
vtebench -h $(tput lines) -w $(tput cols) -b 10485760 unicode-random-write > ~/unicode-random
|
vtebench -h $(tput lines) -w $(tput cols) -b 10485760 unicode-random-write > ~/unicode-random
|
||||||
|
```
|
||||||
|
|
||||||
They were "executed" using [benchmark.py](../scripts/benchmark.py),
|
They were "executed" using [benchmark.py](../scripts/benchmark.py),
|
||||||
which will load each file into memory, and then print it to the
|
which will load each file into memory, and then print it to the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue