summaryrefslogtreecommitdiff
path: root/perf/vim.sh
blob: a1c2d243273abf88fa4ffbcf2631e1b88a165a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

cd "`dirname "$0"`"
# rudimentary Vim performance benchmark

# scrolling (just the cursor)
\time vim -u scroll.vim -c ':quit' UTF-8-demo.txt
\time vim -u scroll.vim -c ':call AutoScroll(100)' UTF-8-demo.txt
\time vim -u scroll.vim -c ':call AutoWindowScroll(10)' UTF-8-demo.txt

echo press enter to close
read