https://github.com/vim-denops/denops-startup-recorder.vim
🩺 Investigate startup performance of denops plugins
https://github.com/vim-denops/denops-startup-recorder.vim
denops neovim vim
Last synced: 3 months ago
JSON representation
🩺 Investigate startup performance of denops plugins
- Host: GitHub
- URL: https://github.com/vim-denops/denops-startup-recorder.vim
- Owner: vim-denops
- License: mit
- Created: 2023-11-26T08:05:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-20T02:22:40.000Z (over 1 year ago)
- Last Synced: 2025-01-21T06:09:28.575Z (5 months ago)
- Topics: denops, neovim, vim
- Language: Vim Script
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# denops-startup-recorder
A [denops][denops] plugin to record startup performance of denops plugins.
[denops]: https://github.com/vim-denops/denops.vim
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](./LICENSE). Contributors need
to agree that any modifications sent in this repository follow the license.