The chrometracing directory contains libraries for various programming languages that make it easy to generate per-process trace files that can be loaded into chrome://tracing.
Language | Status |
---|---|
C++ | Implemented |
Go | Implemented: github.com/google/chrometracing |
Python | Implemented, but not released |
Java | Implemented, but not open-sourced |
See the _demo
directory for an
example Go program.
After running the demo program, load the resulting chrome trace file from
os.TempDir()
(e.g. /tmp
on Linux) into
chrome://tracing
: