-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! WIP: parse "Source:" from profile output with functions
- Loading branch information
Showing
1 changed file
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
SCRIPT tests/test_plugin/duplicate_s_function.vim | ||
Sourced 1 time | ||
Total time: 0.001189 | ||
Self time: 0.000583 | ||
Total time: 0.000600 | ||
Self time: 0.000278 | ||
|
||
count total (s) self (s) | ||
" https://github.com/vim/vim/issues/3286 | ||
1 0.000052 function! s:function(name) abort | ||
1 0.000028 function! s:function(name) abort | ||
echom a:name | ||
endfunction | ||
|
||
1 0.000367 0.000149 call s:function('name') | ||
1 0.000691 0.000303 call test_plugin#function#function('name') | ||
1 0.000132 0.000049 call s:function('name') | ||
1 0.000390 0.000151 call test_plugin#function#function('name') | ||
|
||
SCRIPT tests/test_plugin/autoload/test_plugin/function.vim | ||
Sourced 1 time | ||
Total time: 0.000099 | ||
Self time: 0.000099 | ||
Total time: 0.000054 | ||
Self time: 0.000054 | ||
|
||
count total (s) self (s) | ||
1 0.000036 function! s:function(name) abort | ||
1 0.000016 function! s:function(name) abort | ||
echom a:name | ||
endfunction | ||
|
||
1 0.000005 function! test_plugin#function#function(name) abort | ||
1 0.000003 function! test_plugin#function#function(name) abort | ||
call s:function(a:name) | ||
endfunction | ||
|
||
FUNCTION test_plugin#function#function() | ||
Called 1 time | ||
Total time: 0.000201 | ||
Self time: 0.000036 | ||
Source: tests/test_plugin/autoload/test_plugin/function.vim:5 | ||
Called 1 time | ||
Total time: 0.000117 | ||
Self time: 0.000016 | ||
|
||
count total (s) self (s) | ||
1 0.000198 0.000033 call s:function(a:name) | ||
1 0.000116 0.000015 call s:function(a:name) | ||
|
||
FUNCTION <SNR>2_function() | ||
Called 1 time | ||
Total time: 0.000217 | ||
Self time: 0.000217 | ||
Source: tests/test_plugin/duplicate_s_function.vim:2 | ||
Called 1 time | ||
Total time: 0.000082 | ||
Self time: 0.000082 | ||
|
||
count total (s) self (s) | ||
1 0.000200 echom a:name | ||
1 0.000077 echom a:name | ||
|
||
FUNCTION <SNR>3_function() | ||
Called 1 time | ||
Total time: 0.000165 | ||
Self time: 0.000165 | ||
Source: tests/test_plugin/autoload/test_plugin/function.vim:1 | ||
Called 1 time | ||
Total time: 0.000101 | ||
Self time: 0.000101 | ||
|
||
count total (s) self (s) | ||
1 0.000163 echom a:name | ||
1 0.000098 echom a:name | ||
|
||
FUNCTIONS SORTED ON TOTAL TIME | ||
count total (s) self (s) function | ||
1 0.000217 <SNR>2_function() | ||
1 0.000201 0.000036 test_plugin#function#function() | ||
1 0.000165 <SNR>3_function() | ||
1 0.000117 0.000016 test_plugin#function#function() | ||
1 0.000101 <SNR>3_function() | ||
1 0.000082 <SNR>2_function() | ||
|
||
FUNCTIONS SORTED ON SELF TIME | ||
count total (s) self (s) function | ||
1 0.000217 <SNR>2_function() | ||
1 0.000165 <SNR>3_function() | ||
1 0.000201 0.000036 test_plugin#function#function() | ||
1 0.000101 <SNR>3_function() | ||
1 0.000082 <SNR>2_function() | ||
1 0.000117 0.000016 test_plugin#function#function() | ||
|