summaryrefslogtreecommitdiffstats
path: root/runtime/doc/repeat.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-27 22:30:07 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-27 22:30:07 +0100
commit76f3b1ad77188182e3c924d1e70269c171b9ecc5 (patch)
tree7532f2594754ac586ce47a062d6f03618493a19f /runtime/doc/repeat.txt
parent73b044dca94c8d427144b920c12fe5c47007a6f6 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r--runtime/doc/repeat.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 25421a59db..4b28e8617b 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.4. Last change: 2014 Feb 11
+*repeat.txt* For Vim version 7.4. Last change: 2014 Mar 25
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -588,6 +588,12 @@ the |+reltime| feature, which is present more often.
For profiling syntax highlighting see |:syntime|.
+For example, to profile the one_script.vim script file: >
+ :profile start /tmp/one_script_profile
+ :profile file one_script.vim
+ :source one_script.vim
+ :exit
+
:prof[ile] start {fname} *:prof* *:profile* *E750*
Start profiling, write the output in {fname} upon exit.
@@ -612,8 +618,10 @@ For profiling syntax highlighting see |:syntime|.
This only profiles the script itself, not the functions
defined in it.
When the [!] is added then all functions defined in the script
- will also be profiled. But only if the script is loaded after
- this command.
+ will also be profiled.
+ Note that profiling only starts when the script is loaded
+ after this command. A :profile command in the script itself
+ won't work.
:profd[el] ... *:profd* *:profdel*