Skip to content

vim-denops/denops-startup-recorder.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

denops-startup-recorder

A denops plugin to record startup performance of denops plugins.

Call DenopsStartupRecorderDisplayEvents to echo the result

:DenopsStartupRecorderDisplayEvents

The results reveal:

                                                           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Start
                                                           β”‚
                                                           β”‚            β”Œβ”€ End
                                                           β”‚            β”‚
                                                           β”œβ”€ Duration ──
                                                           β”‚            β”‚
{name}  135.105791 ms  461.203625 ms  326.097834 ms  β–‘β–‘β–‘β–‘β–‘β–‘β–’β–’β–’β–’β–’β–’β–’β–’β–“β–“β–“β–“β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘
                                                           β”Š      β”Šβ”Š    β”Š
                                                           β”‚      β”‚β”‚    β”‚
                                                           β”‚      β”‚β”‚    └─ Plugin end
                                                           β”‚      β”‚β”‚
                                                           β”‚      │└────── Plugin start
                                                           β”‚      β”‚
                                                           β”‚      └─────── Worker end
                                                           β”‚               (may not exist)
                                                           └────────────── Worker start
                                                                           (may not exist)
  • Event timing from the plugin load
  • Time passed from the full loading of the plugin script to the complete initialization of the plugin (init).
    DenopsPluginPost:* - DenopsPluginPre:*

License

The code follows MIT license written in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.