Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: mojo/tools/data/benchmarks

Issue 1414353006: Define measurements as a tuple of name and spec. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/devtools/common/mojo_benchmark ('k') | mojo/tools/data/rtt_benchmarks » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/data/benchmarks
diff --git a/mojo/tools/data/benchmarks b/mojo/tools/data/benchmarks
index d53e6e61ff57aba74414d5c929a9952a5731ae51..26a1c41db2a8443b63728cd6c4d9eccac2fe6788 100644
--- a/mojo/tools/data/benchmarks
+++ b/mojo/tools/data/benchmarks
@@ -7,8 +7,14 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_traced_application.mojo',
'duration': 10,
'measurements': [
- 'time_until/traced_application/initialized',
- 'time_between/traced_application/initialized/traced_application/connected',
+ {
+ 'name': 'initialize',
+ 'spec': 'time_until/traced_application/initialized'
+ },
+ {
+ 'name': 'accept connection',
+ 'spec': 'time_between/traced_application/initialized/traced_application/connected',
+ }
]
},
{
@@ -16,7 +22,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_handler_running.mojo',
'duration': 10,
'measurements': [
- 'time_between/dart_handler_running/connecting/traced_application/initialized',
+ {
+ 'name': 'initialize',
+ 'spec': 'time_between/dart_handler_running/connecting/traced_application/initialized',
+ }
]
},
{
@@ -24,8 +33,14 @@ benchmarks = [
'app': 'https://core.mojoapps.io/trace_me.mojo',
'duration': 10,
'measurements': [
- 'time_until/trace_me/initialized',
- 'time_between/trace_me/initialized/trace_me/connected',
+ {
+ 'name': 'initialize',
+ 'spec': 'time_until/trace_me/initialized',
+ },
+ {
+ 'name': 'accept connection',
+ 'spec': 'time_between/trace_me/initialized/trace_me/connected',
+ }
],
'shell-args': [
'--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing',
« no previous file with comments | « mojo/devtools/common/mojo_benchmark ('k') | mojo/tools/data/rtt_benchmarks » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698