commit | 95d10d4b06d3ef0a7f0acae0edd70296235c672a | [log] [tgz] |
---|---|---|
author | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Wed Sep 16 15:56:39 2015 +0200 |
committer | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Wed Sep 16 15:56:39 2015 +0200 |
tree | c2ffcdc8cfbea786f2005864134b60126e8776f2 | |
parent | 7d99b368d90b3ff79afc05f0bc030179449f967b [diff] |
Teach `benchmark.mojo` to save the collected trace file to disk. This patch adds `--save-traces` argument to mojo_benchmark which saves the traces collected in each benchmark run to disk. A follow-up patch will need teach the runner to move these files to a better location on the host machine (including from an Android device). Fixes #417. R=qsr@chromium.org Review URL: https://codereview.chromium.org/1347063002 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: ddfda66c8b3b27457acf97fcfb4ff960440f9a35
Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.
git clone https://github.com/domokit/devtools.git
Devtools offers the following tools:
mojo_run
- documentation - shell runnermojo_debug
- documentation - debuggermojo_test
- apptest runnermojo_benchmark
- documentation - perf test runnerAdditionally, remote_adb_setup
script helps to configure adb on a remote machine to communicate with a device attached to a local machine, forwarding the ports used by mojo_run
.
The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.