Hi, You can have a look at the tools/callstats.py script which will work nicely with a chrome instance. callstats.py will generate a json file which can be displayed with tools/callstats.html.
To get the raw data with d8 / node you can use --runtime-call-stats which will output a table when exiting. If you want to create the graphs from d8 you can follow these instructions: 1. Create the runtime stats: out/Release/d8 --runtime-call-stats $SCRIPT > stats_out/run_1.txt 2. Repeat if you have flaky results, increase version number 3. Generate the json files: tools/callstats.py json stats_out > stats.json 3. Open tools/callstats.html in chrome (I never tested it in another browser) and select stats.json 4. Make sure to click on one of the categories to trigger the graphs. Cheers On Saturday, August 27, 2016 at 5:52:02 AM UTC+2, Jiho Choi wrote: > > Hi, > > How do I generate plots in the page 28-30 in this slide? > > > https://docs.google.com/presentation/d/14WZkWbkvtmZDEIBYP5H1GrbC9H-W3nJSg3nvpHwfG5U/edit?usp=sharing > > I used to use* tools/plot-timer-events*, but the new plot would be nice > to see the overview. > > Thanks! > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
