A collection of tools that make working with Firefox profiling data easier.
npm install
make
Record a profile in Firefox and save it to disk as profile.json
then:
node build/cli.js profile.json
Prints:
┌─────────────────────────────────────────────────────────────┬────────┬────────┬────────┬────────┐
│ Function │ Int │ Bsl │ Ion │ Nat │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ Startup::XRE_Main:4339 │ 0 │ 0 │ 0 │ 1611 │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ ElementRestyler::ComputeStyleChangeFor Element: ?:3853 │ 0 │ 0 │ 0 │ 477 │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ nsRefreshDriver::Tick:1533 │ 0 │ 0 │ 0 │ 333 │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ foo:3844 │ 0 │ 0 │ 200 │ 0 │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ fn_com_sun_midp_crypto_DES_ECB_cipherBlock_IZ_V:1 │ 0 │ 18 │ 168 │ 1 │
├─────────────────────────────────────────────────────────────┼────────┼────────┼────────┼────────┤
│ ASM<:3 │ 0 │ 180 │ 0 │ 2 │
└─────────────────────────────────────────────────────────────┴────────┴────────┴────────┴────────┘