End profiling a function or script
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2End profiling a function or script.
Profiler
- Session
started: recall.profile- Selected function
Work- Selected script
none
Command entered · ready to apply
Profiler
- Session
started: recall.profile- Selected function
Work- Selected script
none
Removes the Work function profiling selection; the profiling session itself stays active. No timing values are invented.
Profiler
- Session
still active: recall.profile- Selected function
none- Selected script
none
Before & after
Before
Profiler
- Session
started: recall.profile- Selected function
Work- Selected script
none
After
Profiler
- Session
still active: recall.profile- Selected function
none- Selected script
none
Subject: :profdel. Documentation-backed illustration; assumes +profile; prior :profile start recall.profile and :profile func Work; not replay-verified. Removes the Work function profiling selection; the profiling session itself stays active. No timing values are invented.
function! Work()
return 7
endfunctionCursor on line 1, column 1Details & Vim help
End profiling a function or script. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :profd[el] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.