TIMEIT : Time execution of vim command(s) with subsecond resolution
script karma |
Rating 6/3,
Downloaded by 1300 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Yakov Lerner |
|
script type |
utility |
|
description |
" Time execution of vim command(s) with subsecond resolution,
" For example:
" :TIM sleep 100m
" prnits
" Execution took 0.100301 sec.
" With counter, TIMEIT times that many repetitions of the command:
" :10TIM sleep 100m
" prints:
" 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".
|
|
install details |
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.
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|