Nanim

Latest version: v0.0.3

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.000182

Self time: 0.000091

count total (s) self (s)
8 0.000177 0.000086 return call(a:method, a:args)

FUNCTION cocrpcready()
Defined: ~/.vim/plugged/coc.nvim/autoload/coc/rpc.vim line 31
Called 2 times

0.000142

Self time: 0.000023

count total (s) self (s)
1 0.000010 if !get(g:,'coc_workspace_initialized', 0) | return | endif
1 0.000130 0.000011 call cocrpcnotify('CocAutocmd', a:000)

FUNCTION <SNR>23_notify()
Defined: ~/.vim/plugged/coc.nvim/autoload/coc/client.vim line 137
Called 1 time

0.000119

Self time: 0.000026

count total (s) self (s)
1 0.000019 0.000009 if !cocrpcready()
return ''
1 0.000001 endif
1 0.000095 0.000012 call s:client['notify'](a:method, a:args)
1 0.000002 return ''

FUNCTIONS SORTED ON TOTAL TIME
count total (s) self (s) function
: 1 19.799707 0.000025 cocrpcrequest()
1 19.799673 19.799230 <SNR>23_request()
10 0.000591 0.000342 cocapicall()
1 0.000245 0.000028 cocapinotify()
1 0.000217 0.000113 278()
8 0.000182 0.000091 282()
1 0.000142 0.000023 <SNR>20_Autocmd()
1 0.000119 0.000026 cocrpcnotify()
2 0.000088 284()
1 0.000083 0.000077 <SNR>23_notify()
2 0.000067 0.000038 285()
3 0.000043 cocutilunplace_signs()
1 0.000042 cocutilget_content()
1 0.000029 cocutilcursor()
2 0.000019 cocrpcready()
1 0.000016 301()
2 0.000011 cocclientget_channel()
1 0.000006 coc_hide()

FUNCTIONS SORTED ON SELF TIME
count total (s) self (s) function
1 19.799673 19.799230 <SNR>23_request()
10 0.000591 0.000342 cocapicall()
1 0.000217 0.000113 278()
8 0.000182 0.000091 282()
2 0.000088 284()
1 0.000083 0.000077 <SNR>23_notify()
3 0.000043 cocutilunplace_signs()
1 0.000042 cocutilget_content()
2 0.000067 0.000038 285()
1 19.799739 0.000032 <SNR>20_SyncAutocmd()
1 0.000029 cocutilcursor()
1 0.000245 0.000028 cocapinotify()
1 0.000119 0.000026 cocrpcnotify()
1 19.799707 0.000025 cocrpcrequest()
1 0.000142 0.000023 <SNR>20_Autocmd()
2 0.000019 cocrpcready()
1 0.000016 301()
2 0.000011 cocclientget_channel()
1 0.000006 coc_hide()

0.000088

Self time: 0.000088

count total (s) self (s)
" command that could cause cursor vanish
2 0.000033 if a:command =~ '^echo' || a:command =~ '^redraw' || a:command =~ '^sign place'
call timer_start(0, {-> s:execute(a:command)})
2 0.000002 else
2 0.000035 execute a:command
2 0.000002 endif

FUNCTION 285()
Defined: ~/.vim/plugged/coc.nvim/autoload/coc/api.vim line 114
Called 2 times

0.000083

Self time: 0.000077

count total (s) self (s)
1 0.000018 0.000012 let channel = cocclientget_channel(self)
1 0.000005 if empty(channel) | return '' | endif
1 0.000002 try
1 0.000001 if s:is_vim
1 0.000021 call ch_sendraw(channel, json_encode([0, [a:method, a:args]])."\n")
else
call call('rpcnotify', [channel, a:method] + a:args)
1 0.000001 endif
catch /.*/
if v:exception =~ 'E475'
if get(g:, 'coc_vim_leaving', 0) | return | endif
echohl Error | echom '['.self.name.'] server connection lost' | echohl None
let name = self.name
call s:on_exit(name, 0)
execute 'silent do User ConnectionLost'.toupper(name[0]).name[1:]
elseif v:exception =~ 'E12'
" neovim's bug, ignore it
else
echohl Error | echo 'Error on notify ('.a:method.'): '.v:exception | echohl None
endif
1 0.000001 endtry

FUNCTION cocapinotify()
Defined: ~/.vim/plugged/coc.nvim/autoload/coc/api.vim line 588
Called 1 time

0.000067

Self time: 0.000038

count total (s) self (s)
2 0.000065 0.000036 return eval(a:expr)

FUNCTION cocrpcnotify()
Defined: ~/.vim/plugged/coc.nvim/autoload/coc/rpc.vim line 99
Called 1 time

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.