Refactor mojo_benchmark to get rid of warm/cold start special cases. This patch extracts a pre-processing step in mojo_benchmark that rewrites the given list of benchmarks to run, yielding two benchmarks corresponding to the warm start case and to the cold start case for each benchmark defined in the original list. This simplifies the logic afterwards which does not need to reason about cold start vs warm start cases. This will also allow us to easily add other variants in the future. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/1400003005 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: 17b94ae165808758460062091779fab5ba14c20d
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.