| 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 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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/connecting/Dart/initialized', | 27 'spec': 'time_between/Dart/connecting/Dart/initialized', |
| 28 } | 28 } |
| 29 ] | 29 ] |
| 30 }, | 30 }, |
| 31 { | 31 { |
| 32 'name': 'dart init no observatory', |
| 33 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
| 34 'duration': 10, |
| 35 'measurements': [ |
| 36 { |
| 37 'name': 'initialize', |
| 38 'spec': 'time_until/Dart/initialized' |
| 39 }, |
| 40 { |
| 41 'name': 'accept connection', |
| 42 'spec': 'time_between/Dart/initialized/Dart/connected', |
| 43 } |
| 44 ], |
| 45 'shell-args': [ |
| 46 '--args-for=mojo:dart_content_handler --disable-observatory', |
| 47 ] |
| 48 }, |
| 49 { |
| 32 'name': 'cpp init', | 50 'name': 'cpp init', |
| 33 'app': 'https://core.mojoapps.io/trace_me.mojo', | 51 'app': 'https://core.mojoapps.io/trace_me.mojo', |
| 34 'duration': 10, | 52 'duration': 10, |
| 35 'measurements': [ | 53 'measurements': [ |
| 36 { | 54 { |
| 37 'name': 'initialize', | 55 'name': 'initialize', |
| 38 'spec': 'time_until/trace_me/initialized', | 56 'spec': 'time_until/trace_me/initialized', |
| 39 }, | 57 }, |
| 40 { | 58 { |
| 41 'name': 'accept connection', | 59 'name': 'accept connection', |
| 42 'spec': 'time_between/trace_me/initialized/trace_me/connected', | 60 'spec': 'time_between/trace_me/initialized/trace_me/connected', |
| 43 } | 61 } |
| 44 ], | 62 ], |
| 45 'shell-args': [ | 63 'shell-args': [ |
| 46 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', | 64 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', |
| 47 ] | 65 ] |
| 48 }, | 66 }, |
| 49 ] | 67 ] |
| 50 | 68 |
| OLD | NEW |