DescriptionTrace-based benchmarking via a mojo app.
This patch adds `benchmark.mojo` app for trace-based benchmarking and a
runner script.
$ mojo/devtools/common/mojo_benchmark mojo/tools/data/benchmarks
[Trace me]
measurement: time_until/trace_me/DoWork 4488.810000
measurement: avg_duration/trace_me/DoWork 300.449714
[Spinning cube]
measurement: time_until/gpu/GpuScheduler:PutChanged 4341.874000
Fixes #371.
R=etiennej@chromium.org, jamesr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/1d909941168487e5a0c7f81f6b7c73c026c63054
Patch Set 1 #Patch Set 2 : #
Total comments: 10
Patch Set 3 : Address James's comments. #Patch Set 4 : Add tests. #
Total comments: 10
Patch Set 5 : Address James's comments. #
Total comments: 7
Patch Set 6 : Address Etienne's comments. #Patch Set 7 : Further address Etienne's comments. #
Messages
Total messages: 13 (2 generated)
|