Google is committed to advancing racial equity for Black communities. See how.

fx ninjatrace2json

Collect Ninja trace information for analysis in chrome://tracing

Usage: fx ninjatrace2json

Use this after a build to write "ninjatrace.json" and
"ninjatrace_critical_path.json" files in the build directories (separately
for Zircon and Fuchsia build directories). Then use the chrome://tracing view
to load that file into your browser.

ninjatrace2json source code