Lua profiler for nvim
clason opened this issue · 1 comments
clason commented
One useful addition to a nvim-lua standard library would be a profiler (since the vim prof func *
can't trace into lua). I've played a bit with the debug.sethook
based approach, either using https://stackoverflow.com/questions/15725744/easy-lua-profiling or https://github.com/charlesmallah/lua-profiler.
Both kinda work, but it'd be nice to have something more nvim-aware (and prettier) :)
There's also https://blast.hk/moonloader/luajit/ext_profiler.html, but I couldn't get this to work properly.
matu3ba commented
Can you update the issue regarding what is missing from your merged PR to plenary? :)