commit | 2ca1bc034d0055963541aad41ff3ff7fdf483b48 | [log] [tgz] |
---|---|---|
author | Nat Duca <nduca@chromium.org> | Tue Aug 04 02:48:39 2015 |
committer | Nat Duca <nduca@chromium.org> | Tue Aug 04 05:14:38 2015 |
tree | 0bc34297fb79a6a3015a66b4935e23a5a5fbbac5 | |
parent | 055d8314cb1b09bc5a4614d4cde1dbec7d824c0f [diff] |
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
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.
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.
Join our Google Groups: