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

Unified Diff: mojo/tools/data/rtt_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/tools/data/benchmarks ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/data/rtt_benchmarks
diff --git a/mojo/tools/data/rtt_benchmarks b/mojo/tools/data/rtt_benchmarks
index b9f3902013de438604b7042736e7fc7ef82a0b50..3177e82003bac504a8bdc2ca9e11b820f09938ba 100644
--- a/mojo/tools/data/rtt_benchmarks
+++ b/mojo/tools/data/rtt_benchmarks
@@ -7,10 +7,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/echo_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/echo_benchmark/ping',
- 'percentile_duration/echo_benchmark/ping/0.10',
- 'percentile_duration/echo_benchmark/ping/0.50',
- 'percentile_duration/echo_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/echo_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/echo_benchmark.mojo --early-tracing',
@@ -21,10 +21,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/echo_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/echo_benchmark/ping',
- 'percentile_duration/echo_benchmark/ping/0.10',
- 'percentile_duration/echo_benchmark/ping/0.50',
- 'percentile_duration/echo_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/echo_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/echo_benchmark.mojo --early-tracing --dart-server',
@@ -35,10 +35,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_rtt_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/mojo_rtt_benchmark/ping',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.10',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.50',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/mojo_rtt_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.90'},
]
},
{
@@ -46,10 +46,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_rtt_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/mojo_rtt_benchmark/ping',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.10',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.50',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/mojo_rtt_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/dart_rtt_benchmark.mojo --cpp-server',
@@ -60,10 +60,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_isolate_rtt_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/isolate_rtt_benchmark/ping',
- 'percentile_duration/isolate_rtt_benchmark/ping/0.10',
- 'percentile_duration/isolate_rtt_benchmark/ping/0.50',
- 'percentile_duration/isolate_rtt_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/isolate_rtt_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/isolate_rtt_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/isolate_rtt_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/isolate_rtt_benchmark/ping/0.90'},
]
},
{
@@ -71,10 +71,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/echo_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/echo_benchmark/ping',
- 'percentile_duration/echo_benchmark/ping/0.10',
- 'percentile_duration/echo_benchmark/ping/0.50',
- 'percentile_duration/echo_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/echo_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/echo_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/echo_benchmark.mojo --early-tracing --num-clients=100 --num-active-clients=100',
@@ -85,10 +85,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_rtt_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/mojo_rtt_benchmark/ping',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.10',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.50',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/mojo_rtt_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/dart_rtt_benchmark.mojo --num-clients=100 --num-active-clients=100',
@@ -99,10 +99,10 @@ benchmarks = [
'app': 'https://core.mojoapps.io/dart_rtt_benchmark.mojo',
'duration': 10,
'measurements': [
- 'avg_duration/mojo_rtt_benchmark/ping',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.10',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.50',
- 'percentile_duration/mojo_rtt_benchmark/ping/0.90',
+ {'name': 'avg ping', 'spec': 'avg_duration/mojo_rtt_benchmark/ping'},
+ {'name': '10th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.10'},
+ {'name': '50th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.50'},
+ {'name': '90th percentile ping', 'spec': 'percentile_duration/mojo_rtt_benchmark/ping/0.90'},
],
'shell-args': [
'--args-for=https://core.mojoapps.io/dart_rtt_benchmark.mojo --cpp-server --num-clients=100 --num-active-clients=100',
« no previous file with comments | « mojo/tools/data/benchmarks ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698