Skip to content

Commit bf618eb

Browse files
committed
Add simple timing script
1 parent 4576a3f commit bf618eb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

time-it.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
" To use this file, you'll need the profile feature enabled (see :echo " has('profile'))
2+
" You just need to run the following:
3+
"
4+
" vim -c 'source tools/time-it.vim' [filename]
5+
"
6+
" And a timing report will be written to /tmp/report
7+
8+
syntime on
9+
redraw
10+
syntime off
11+
redir! > /tmp/report
12+
silent syntime report
13+
redir END
14+
quit

0 commit comments

Comments
 (0)