nvim-lua/wishlist

A Lua-aware startup time profiler

Open

#15 opened on 2021年2月9日

GitHub で見る
 (8 comments) (9 reactions) (0 assignees) (0 forks)github user discovery
help wantedidea

Repository metrics

Stars
 (249 stars)
PR merge metrics
 (PR metrics pending)

説明

What? The existing common startup time profilers https://github.com/dstein64/vim-startuptime and https://github.com/tweekmonster/startuptime.vim do not report timing information for Lua files. This would be helpful to have.

Why? Startup timing information that includes Lua files in the time breakdown is useful for tuning one's configuration.

Potential existing implementations: Building off of one of the common startup time profilers could be useful.

Potential pitfalls: This seems like it may require changes to Neovim's built-in startup time profiling, to ensure that Lua files are included in the output. I think that the common profiling plugins just parse this output, so it's plausible that simply augmenting the output would allow them to include Lua timing without modification.

コントリビューターガイド