~kvakil/v8profile-to-pprof

Converts V8 CPU profiles to pprof
d228e027 — Keyhan Vakil 10 months ago
Update README to point to new binary, add words
cb020c9d — Keyhan Vakil 11 months ago
Fix off-by-one for line granularity numbers
c55ce7f1 — Keyhan Vakil 11 months ago
Release version v0.0.1.

clone

read-only
https://git.sr.ht/~kvakil/v8profile-to-pprof
read/write
git@git.sr.ht:~kvakil/v8profile-to-pprof

You can also use your local clone with git send-email.

#v8profile-to-pprof

Convert V8 CPU profiles to pprof.

#Binary artifact

A binary for x86-64 Linux systems is available here.

#Running from source

Install Haskell stack. Then you can install this package:

stack install

It should be installed to your PATH. You can then convert a profile with a command like this:

v8profile-to-pprof functions --input profile.cpuprofile --output profile.pb.gz

Now it can be opened with pprof, e.g.:

~/go/bin/pprof -http=: -lines profile.pb.gz

For more information, run v8profile-to-pprof -h.