vte2.91/perf/vim.sh

13 lines
321 B
Bash
Raw Normal View History

2022-05-14 03:16:03 +08:00
#!/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