Make value handling be telemetric

In the initial map_traces commit, a map job produces only one dict value object. In practice,
a trace may contain multiple running tabs at once, and multiple interaction records. This means
that a given map job can produce multiple values per trace, requiring us to switch to telemetry's
Values architecture.

Because telemetry and trace-viewer are not in the same codebase, and  because the telemetry value
system in in-flux, this patch uses a best-guess of where the telemetry value system will be
in the future, instead of using a direct copy of what exists at present.

BUG=#1063
27 files changed
tree: 0bc34297fb79a6a3015a66b4935e23a5a5fbbac5
  1. .gitignore
  2. .travis.yml
  3. PRESUBMIT.py
  4. README.md
  5. build/
  6. codereview.settings
  7. hooks/
  8. perf_insights/
  9. third_party/
  10. 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: