2015-07-07
Choose default trace name based on client.

The XHR client produces compressed traces, while the inspector doesn't. This is causing problems when capturing a trace from android devices, saving it, then loading the saved trace since the file is named with .gz but the contents aren't actually compressed.

BUG=1087
R=dsinclair@chromium.org

Review URL: https://codereview.appspot.com/252070043.
5 files changed
tree: 061851ebeaa6a5bcc2a2bd53b25f7f5e111f2398
  1. .gitignore
  2. .travis.yml
  3. PRESUBMIT.py
  4. README.md
  5. build/
  6. codereview.settings
  7. hooks/
  8. perf_insights/
  9. tracing/
README.md

Build Status

Trace Viewer Logo

Trace-Viewer is the javascript frontend for Chrome about:tracing and Android systrace.

It provides rich analysis and visualization capabilities for many types of trace files. Its particularly good at viewing linux kernel traces (aka ftrace) and Chrome's trace_event format. Trace viewer can be embedded as a component in your own code, or used from a plain checkout to turn trace files into standalone, emailable HTML files from the commandline:

./tracing/trace2html my_trace.json --output=my_trace.html && open my_trace.html

Its easy to extend trace viewer to support your favorite trace format, or add domain specific visualizations to the UI to simplify drilling down into complex data.

Contributing, quick version

We welcome contributions! To hack on this code, from toplevel: ./tracing/run_dev_server

In any browser, navigate to http://localhost:8003/

To run all python unittests: ./tracing/run_py_tests

To run all tracing unittests in d8 environment: ./tracing/run_d8_tests

To run all the unittests, you can also do:

./tracing/run_tests

Make sure tests pass before sending us changelist. We use rietveld for codereview. For more details, esp on rietveld, read our contributing guide or check out the trace viewer wiki.

Contact Us

Join our Google Groups: