Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.17 KB

README.md

File metadata and controls

41 lines (32 loc) · 2.17 KB

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.