node-inspector / v8-profiler

node bindings for the v8 profiler
BSD 2-Clause "Simplified" License
1.13k stars 134 forks source link

How to analyze the result of v8-profiler? #125

Closed nobody4t closed 6 years ago

nobody4t commented 6 years ago

I got the example code in the readme. I produced the *.json file. But how can I analyze it? It is unreadable.

nobody4t commented 6 years ago

I have produced a json file when stoping profiling. But I have no idea how to read this properly.

izotos commented 6 years ago

In Chrome (65.0):

It would be nice to see some examples/suggestions in the README.

nobody4t commented 6 years ago

sure. I have found it. thanks.

azaslavsky commented 6 years ago

@izotos what did you rename the extension to? For example, I am currently writing a file called profile.json. What should it be called instead?

izotos commented 6 years ago

@azaslavsky I believe it was .cpuprofile