|
|
|
|
|
by aktau
572 days ago
|
|
I'd love to use this to profile Neovim, where (nowadays) user scripts are often written in Lua 5.1. Neovim by default embeds LuaJIT (close to HEAD). Being able to see Lua functions and C functions in the stack would be amazing. Is there a single-shot mode that I can use from the command-line? Something like: $ parca-perf record nvim ...
Or: a$ nvim ...
b$ parca-perf top -p $(pidof nvim)
|
|
However, we wouldn’t be against adding a mode like this!
FWIW both the server and the agent are single statically linked binaries so while it’s a bit more set up it’s not terribly difficult either[1].
[1] https://www.parca.dev/docs/quickstart/