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