Latest commit bbfc356 Feb 22, 2017 @zeptonaut zeptonaut committed with Commit bot Create a trace import duration metric
This metric will allow us to use TBMv2 to monitor how the trace import
duration changes over time.

BUG=chromium:665550

Review-Url: https://codereview.chromium.org/2658143002
Permalink
..
Failed to load latest commit information.
bin Use absolute pcs and load locations to symbolize on macOS. Feb 17, 2017
docs Fixed square bracket in trace-viewer-internals.md Nov 14, 2016
images [Catapult] Make documentation logo less comically large Nov 6, 2015
skp_data Move the skp_data directory to tracing/ Jun 30, 2015
test_data ChromeRendererHelper treats Chrome_InProcRendererThread as main thread Dec 9, 2016
third_party tracing: adds oboe.js to tracing/third_party Jan 31, 2017
tracing Create a trace import duration metric Feb 22, 2017
tracing_build Test gunzipping traces in trace2html. Feb 8, 2017
tracing_examples Replace iterItems() with Object.entries() in a few files Jan 5, 2017
.allow-devtools-save Move remaining files to tracing. Jun 30, 2015
.bowerrc Move third_party, examples, bin and images to tracing/ Jun 30, 2015
.gitignore Move remaining files to tracing. Jun 30, 2015
.npmignore tracing: add package.json for npm Mar 4, 2016
BUILD.gn Move all executable files to per-project bin folders Aug 10, 2015
LICENSE Move remaining files to tracing. Jun 30, 2015
OWNERS Add TEAM and COMPONENT to catapult OWNERS files. Feb 8, 2017
PRESUBMIT.py [Tracing] Add PRESUBMIT check to make sure all metrics are imported i… Apr 6, 2016
README.md [tracing] Update README.md Feb 26, 2016
app.yaml Adding MIT Licensed implementation of Mann-Whitney U test. Jun 29, 2016
bower.json Move remaining files to tracing. Jun 30, 2015
package.json Use more normative name for node_bootstrap: index.js Mar 8, 2016
trace_viewer.gyp Move all executable files to per-project bin folders Aug 10, 2015
trace_viewer.gypi Merge RelatedHistogram diagnostics. Feb 17, 2017
tracing_project.py tracing: adds oboe.js to tracing/third_party Jan 31, 2017

README.md

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:

$CATAPULT/tracing/bin/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.

There are two type of tests.

In the browser

Run http server $CATAPULT/bin/run_dev_server. In any browser, navigate to http://localhost:8003/

Unit tests Descripton
All tests http://localhost:8003/tests.html
All tests with short format http://localhost:8003/tracing/tests.html?shortFormat
An individual test suite(such as ui/foo_test.js) http://localhost:8003/tests.html?testSuiteName=ui.foo
Tests named foo http://localhost:8003/tests.html?testFilterString=foo

On command

Unit tests Description
All python tests $CATAPULT/tracing/bin/run_py_tests
All tracing tests in d8 environment $CATAPULT/tracing/bin/run_vinn_tests
All tests $CATAPULT/tracing/bin/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 Group: