Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

First, start Chrome and open the page you want to profile:

./chrome --js-flags=”--prof” --no-sandbox http://localhost:8080/index.html

Note: This page should do things on-load, simply close Chrome once it's done

Then preprocess the biggest .log file you get: (since the biggest one should be from the main renderer):

v8/tools/linux-tick-processor --preprocess v8.log

This gives you a JSON file which is an analysis of the logs, which you load into profview:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.