TIMEIT : Time execution of vim command(s) with subsecond resolution
| script karma
Downloaded by 498
Comments, bugs, improvements
script versions (upload new version)
|" Time execution of vim command(s) with subsecond resolution,
" For example:
" :TIM sleep 100m
" Execution took 0.100301 sec.
" With counter, TIMEIT times that many repetitions of the command:
" :10TIM sleep 100m
" 10 repetitions took 1.039352 sec.
" You can use sequence of |-separated commands under TIM:
" :10TIM syntax off | syntax on
" This will time ten repetitions of (syntax off | syntax on)
" sequence, not 10 repetitions of "syntax off" followed by
" one untimes "syntax on".
|Download the script from the link below and
copy it into your ~/.vim/plugin directory.
Create this directory if it does not yet exist.
Restart vim. That's it.
Click on the package to download.
ip used for rating: 18.104.22.168