timing.vim : stopwatch timing of execution time of vim commands and command sequences
| script karma
Downloaded by 474
Comments, bugs, improvements
script versions (upload new version)
|This script provides the TIM command which measures execution time vim takes to execute given commands up to microsecond resolution (actual resolution depends on OS).
TIM 2000 let x=0 " How much time is takes to do 'x=0' 20000 times ?
If first argument after TIM is a number, it is treated as repetiion count.
If first argument is not a number, the command is executed once.
Multiple commands, separated by bars(|) can be used under TIM command:
TIM 100 e xxx | bd "How much time it takes
" to open and close the buffer 100 times
|Copy file timing.vim into your .vim/plugin directory.
Or simply source timing.vim: :so timing.vim
Click on the package to download.
ip used for rating: 22.214.171.124