telemetry: Compress output from --profiler=trace
commit7c842790bcaa8261379c62123877d9a6f4a12516
authorskyostil <skyostil@chromium.org>
Wed, 7 Jan 2015 16:41:42 +0000 (7 08:41 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 7 Jan 2015 16:43:27 +0000 (7 16:43 +0000)
treec2cb7d48dae5ff956edf1457d6aceffddb99eb93
parent970f39d3eeac9baa033a48dfe3310df8e388c68f
telemetry: Compress output from --profiler=trace

Compress the json traces generated by --profiler=trace with zip to
make them easier to attach to bugs and share. Note that about:tracing
will transparently decompress such files so there is no need to unzip
them manually.

BUG=438518

Review URL: https://codereview.chromium.org/833383002

Cr-Commit-Position: refs/heads/master@{#310301}
tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
tools/telemetry/telemetry/core/platform/profiler/trace_profiler_unittest.py [new file with mode: 0644]
tools/telemetry/telemetry/page/page_run_end_to_end_unittest.py