Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Importing from rbspy (ruby)
rbspy is a ruby profiler that lets you profile Ruby processes that are already running.
rbspy has an explicit output format for speedscope (See rbspy/rbspy#161).
To record a profile on an already-running process with
sudo rbspy record --pid $PID --format speedscope --file profile.speedscope.json
Then drop the resulting
profile.speedscope.json into https://www.speedscope.app/
To view it offline, you'll need to install speedscope via
npm install -g speedscope
Then you should be able to open it like so: