blob: 4c1d39b7d7b7e21ea75ddeeb8dccfaddce01ebd1 [file] [log] [blame]
Przemyslaw Pietrzkiewicz1d909942015-08-28 16:27:56 +02001# This file contains a list of Mojo benchmarks. For description of the file
2# format, see `mojo_benchmark --help`.
3
4benchmarks = [
5 {
Przemyslaw Pietrzkiewicz12730b72015-10-28 10:15:32 +01006 'name': 'dart init',
Zachary Anderson1fc008f2015-11-12 13:58:33 -08007 'app': 'https://core.mojoapps.io/dart_startup.mojo',
Przemyslaw Pietrzkiewicz421c1f72015-09-08 14:52:36 +02008 'duration': 10,
9 'measurements': [
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010010 {
11 'name': 'initialize',
Zachary Anderson653331f2015-11-19 09:57:09 -080012 'spec': 'time_until/Dart/initialized'
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010013 },
14 {
15 'name': 'accept connection',
Zachary Anderson653331f2015-11-19 09:57:09 -080016 'spec': 'time_between/Dart/initialized/Dart/connected',
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010017 }
John McCutchan7d6b3eb2016-02-01 13:38:56 -080018 ],
19 'shell-args': [
John McCutchand8a0f592016-02-04 14:13:27 -080020 '--args-for=mojo:dart_content_handler --dart-timeline',
Przemyslaw Pietrzkiewicz421c1f72015-09-08 14:52:36 +020021 ]
22 },
23 {
Przemyslaw Pietrzkiewicz12730b72015-10-28 10:15:32 +010024 'name': 'dart init with handler',
Przemyslaw Pietrzkiewicza9d3cd22015-10-01 17:12:27 +020025 'app': 'https://core.mojoapps.io/dart_handler_running.mojo',
26 'duration': 10,
27 'measurements': [
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010028 {
29 'name': 'initialize',
Zachary Anderson653331f2015-11-19 09:57:09 -080030 'spec': 'time_between/Dart/connecting/Dart/initialized',
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010031 }
John McCutchan7d6b3eb2016-02-01 13:38:56 -080032 ],
33 'shell-args': [
John McCutchand8a0f592016-02-04 14:13:27 -080034 '--args-for=mojo:dart_content_handler --dart-timeline',
Przemyslaw Pietrzkiewicza9d3cd22015-10-01 17:12:27 +020035 ]
36 },
37 {
Zachary Anderson8182fbd2015-12-03 11:05:19 -080038 'name': 'dart init no observatory',
39 'app': 'https://core.mojoapps.io/dart_startup.mojo',
40 'duration': 10,
41 'measurements': [
42 {
43 'name': 'initialize',
44 'spec': 'time_until/Dart/initialized'
45 },
46 {
47 'name': 'accept connection',
48 'spec': 'time_between/Dart/initialized/Dart/connected',
49 }
50 ],
51 'shell-args': [
John McCutchand8a0f592016-02-04 14:13:27 -080052 '--args-for=mojo:dart_content_handler --disable-observatory --dart-timeline',
Zachary Anderson8182fbd2015-12-03 11:05:19 -080053 ]
54 },
55 {
John McCutchanc3c60ff2016-01-04 13:05:18 -080056 'name': 'dart init run (message loop)',
57 'app': 'https://core.mojoapps.io/dart_startup.mojo',
58 'duration': 10,
59 'measurements': [
60 {
61 'name': 'initialize',
62 'spec': 'time_until/Dart/initialized'
63 },
64 {
65 'name': 'accept connection',
66 'spec': 'time_between/Dart/initialized/Dart/connected',
67 }
68 ],
69 'shell-args': [
John McCutchand8a0f592016-02-04 14:13:27 -080070 '--args-for=mojo:dart_content_handler --run-on-message-loop --dart-timeline',
John McCutchanc3c60ff2016-01-04 13:05:18 -080071 ]
72 },
73 {
Przemyslaw Pietrzkiewicz12730b72015-10-28 10:15:32 +010074 'name': 'cpp init',
Przemyslaw Pietrzkiewicz1d909942015-08-28 16:27:56 +020075 'app': 'https://core.mojoapps.io/trace_me.mojo',
76 'duration': 10,
77 'measurements': [
Przemyslaw Pietrzkiewicz077e43d2015-10-28 11:04:22 +010078 {
79 'name': 'initialize',
80 'spec': 'time_until/trace_me/initialized',
81 },
82 {
83 'name': 'accept connection',
84 'spec': 'time_between/trace_me/initialized/trace_me/connected',
85 }
Przemyslaw Pietrzkiewicz4076f642015-09-14 11:54:30 +020086 ],
87 'shell-args': [
88 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing',
Przemyslaw Pietrzkiewicz1d909942015-08-28 16:27:56 +020089 ]
90 },
91]
92