aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-31 11:08:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-31 11:08:19 +0000
commit09d10b6a486c9a2b5e27be344e5ac0db86ccdd01 (patch)
treea507b866189322cbc4433e4fc5b5d7e00a13c95b /doc
parentreadme: fix benchmark link (diff)
doc: benchmarks: shell highlighting of vtebench commands
Diffstat (limited to 'doc')
-rw-r--r--doc/benchmark.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/benchmark.md b/doc/benchmark.md
index 0e42f798..61988c50 100644
--- a/doc/benchmark.md
+++ b/doc/benchmark.md
@@ -4,11 +4,13 @@
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 -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 104857600 scrolling --fill-lines > ~/scrolling-filled-lines
vtebench -h $(tput lines) -w $(tput cols) -b 10485760 unicode-random-write > ~/unicode-random
+```
They were "executed" using [benchmark.py](../scripts/benchmark.py),
which will load each file into memory, and then print it to the