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_traced_application.mojo', | 7 'app': 'https://core.mojoapps.io/dart_traced_application.mojo', |
8 'duration': 10, | 8 'duration': 10, |
9 'measurements': [ | 9 'measurements': [ |
10 'time_until/traced_application/initialized', | 10 { |
11 'time_between/traced_application/initialized/traced_application/connected'
, | 11 'name': 'initialize', |
| 12 'spec': 'time_until/traced_application/initialized' |
| 13 }, |
| 14 { |
| 15 'name': 'accept connection', |
| 16 'spec': 'time_between/traced_application/initialized/traced_application/
connected', |
| 17 } |
12 ] | 18 ] |
13 }, | 19 }, |
14 { | 20 { |
15 'name': 'dart init with handler', | 21 'name': 'dart init with handler', |
16 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', | 22 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', |
17 'duration': 10, | 23 'duration': 10, |
18 'measurements': [ | 24 'measurements': [ |
19 'time_between/dart_handler_running/connecting/traced_application/initializ
ed', | 25 { |
| 26 'name': 'initialize', |
| 27 'spec': 'time_between/dart_handler_running/connecting/traced_application
/initialized', |
| 28 } |
20 ] | 29 ] |
21 }, | 30 }, |
22 { | 31 { |
23 'name': 'cpp init', | 32 'name': 'cpp init', |
24 'app': 'https://core.mojoapps.io/trace_me.mojo', | 33 'app': 'https://core.mojoapps.io/trace_me.mojo', |
25 'duration': 10, | 34 'duration': 10, |
26 'measurements': [ | 35 'measurements': [ |
27 'time_until/trace_me/initialized', | 36 { |
28 'time_between/trace_me/initialized/trace_me/connected', | 37 'name': 'initialize', |
| 38 'spec': 'time_until/trace_me/initialized', |
| 39 }, |
| 40 { |
| 41 'name': 'accept connection', |
| 42 'spec': 'time_between/trace_me/initialized/trace_me/connected', |
| 43 } |
29 ], | 44 ], |
30 'shell-args': [ | 45 'shell-args': [ |
31 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', | 46 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', |
32 ] | 47 ] |
33 }, | 48 }, |
34 ] | 49 ] |
35 | 50 |
OLD | NEW |