OLD | NEW |
1 # This file contains a list of Mojo benchmarks. For description of the file | 1 # This file contains a list of Mojo benchmarks. For description of the file |
2 # format, see `mojo_benchmark --help`. | 2 # format, see `mojo_benchmark --help`. |
3 | 3 |
4 benchmarks = [ | 4 benchmarks = [ |
5 { | 5 { |
6 'name': 'dart init', | 6 'name': 'dart init', |
7 'app': 'https://core.mojoapps.io/dart_startup.mojo', | 7 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
8 'duration': 10, | 8 'duration': 10, |
9 'measurements': [ | 9 'measurements': [ |
10 { | 10 { |
11 'name': 'initialize', | 11 'name': 'initialize', |
12 'spec': 'time_until/Dart/initialized' | 12 'spec': 'time_until/Dart/initialized' |
13 }, | 13 }, |
14 { | 14 { |
15 'name': 'accept connection', | 15 'name': 'accept connection', |
16 'spec': 'time_between/Dart/initialized/Dart/connected', | 16 'spec': 'time_between/Dart/initialized/Dart/connected', |
17 } | 17 } |
| 18 ], |
| 19 'shell-args': [ |
| 20 '--args-for=mojo:dart_content_handler --complete-timeline', |
18 ] | 21 ] |
19 }, | 22 }, |
20 { | 23 { |
21 'name': 'dart init with handler', | 24 'name': 'dart init with handler', |
22 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', | 25 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', |
23 'duration': 10, | 26 'duration': 10, |
24 'measurements': [ | 27 'measurements': [ |
25 { | 28 { |
26 'name': 'initialize', | 29 'name': 'initialize', |
27 'spec': 'time_between/Dart/connecting/Dart/initialized', | 30 'spec': 'time_between/Dart/connecting/Dart/initialized', |
28 } | 31 } |
| 32 ], |
| 33 'shell-args': [ |
| 34 '--args-for=mojo:dart_content_handler --complete-timeline', |
29 ] | 35 ] |
30 }, | 36 }, |
31 { | 37 { |
32 'name': 'dart init no observatory', | 38 'name': 'dart init no observatory', |
33 'app': 'https://core.mojoapps.io/dart_startup.mojo', | 39 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
34 'duration': 10, | 40 'duration': 10, |
35 'measurements': [ | 41 'measurements': [ |
36 { | 42 { |
37 'name': 'initialize', | 43 'name': 'initialize', |
38 'spec': 'time_until/Dart/initialized' | 44 'spec': 'time_until/Dart/initialized' |
39 }, | 45 }, |
40 { | 46 { |
41 'name': 'accept connection', | 47 'name': 'accept connection', |
42 'spec': 'time_between/Dart/initialized/Dart/connected', | 48 'spec': 'time_between/Dart/initialized/Dart/connected', |
43 } | 49 } |
44 ], | 50 ], |
45 'shell-args': [ | 51 'shell-args': [ |
46 '--args-for=mojo:dart_content_handler --disable-observatory', | 52 '--args-for=mojo:dart_content_handler --disable-observatory --complete-tim
eline', |
47 ] | 53 ] |
48 }, | 54 }, |
49 { | 55 { |
50 'name': 'dart init run (message loop)', | 56 'name': 'dart init run (message loop)', |
51 'app': 'https://core.mojoapps.io/dart_startup.mojo', | 57 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
52 'duration': 10, | 58 'duration': 10, |
53 'measurements': [ | 59 'measurements': [ |
54 { | 60 { |
55 'name': 'initialize', | 61 'name': 'initialize', |
56 'spec': 'time_until/Dart/initialized' | 62 'spec': 'time_until/Dart/initialized' |
57 }, | 63 }, |
58 { | 64 { |
59 'name': 'accept connection', | 65 'name': 'accept connection', |
60 'spec': 'time_between/Dart/initialized/Dart/connected', | 66 'spec': 'time_between/Dart/initialized/Dart/connected', |
61 } | 67 } |
62 ], | 68 ], |
63 'shell-args': [ | 69 'shell-args': [ |
64 '--args-for=mojo:dart_content_handler --run-on-message-loop', | 70 '--args-for=mojo:dart_content_handler --run-on-message-loop --complete-tim
eline', |
65 ] | 71 ] |
66 }, | 72 }, |
67 { | 73 { |
68 'name': 'cpp init', | 74 'name': 'cpp init', |
69 'app': 'https://core.mojoapps.io/trace_me.mojo', | 75 'app': 'https://core.mojoapps.io/trace_me.mojo', |
70 'duration': 10, | 76 'duration': 10, |
71 'measurements': [ | 77 'measurements': [ |
72 { | 78 { |
73 'name': 'initialize', | 79 'name': 'initialize', |
74 'spec': 'time_until/trace_me/initialized', | 80 'spec': 'time_until/trace_me/initialized', |
75 }, | 81 }, |
76 { | 82 { |
77 'name': 'accept connection', | 83 'name': 'accept connection', |
78 'spec': 'time_between/trace_me/initialized/trace_me/connected', | 84 'spec': 'time_between/trace_me/initialized/trace_me/connected', |
79 } | 85 } |
80 ], | 86 ], |
81 'shell-args': [ | 87 'shell-args': [ |
82 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', | 88 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', |
83 ] | 89 ] |
84 }, | 90 }, |
85 ] | 91 ] |
86 | 92 |
OLD | NEW |