| 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 ], | 18 ], |
| 19 'shell-args': [ | 19 'shell-args': [ |
| 20 '--args-for=mojo:dart_content_handler --complete-timeline', | 20 '--args-for=mojo:dart_content_handler --dart-timeline', |
| 21 ] | 21 ] |
| 22 }, | 22 }, |
| 23 { | 23 { |
| 24 'name': 'dart init with handler', | 24 'name': 'dart init with handler', |
| 25 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', | 25 'app': 'https://core.mojoapps.io/dart_handler_running.mojo', |
| 26 'duration': 10, | 26 'duration': 10, |
| 27 'measurements': [ | 27 'measurements': [ |
| 28 { | 28 { |
| 29 'name': 'initialize', | 29 'name': 'initialize', |
| 30 'spec': 'time_between/Dart/connecting/Dart/initialized', | 30 'spec': 'time_between/Dart/connecting/Dart/initialized', |
| 31 } | 31 } |
| 32 ], | 32 ], |
| 33 'shell-args': [ | 33 'shell-args': [ |
| 34 '--args-for=mojo:dart_content_handler --complete-timeline', | 34 '--args-for=mojo:dart_content_handler --dart-timeline', |
| 35 ] | 35 ] |
| 36 }, | 36 }, |
| 37 { | 37 { |
| 38 'name': 'dart init no observatory', | 38 'name': 'dart init no observatory', |
| 39 'app': 'https://core.mojoapps.io/dart_startup.mojo', | 39 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
| 40 'duration': 10, | 40 'duration': 10, |
| 41 'measurements': [ | 41 'measurements': [ |
| 42 { | 42 { |
| 43 'name': 'initialize', | 43 'name': 'initialize', |
| 44 'spec': 'time_until/Dart/initialized' | 44 'spec': 'time_until/Dart/initialized' |
| 45 }, | 45 }, |
| 46 { | 46 { |
| 47 'name': 'accept connection', | 47 'name': 'accept connection', |
| 48 'spec': 'time_between/Dart/initialized/Dart/connected', | 48 'spec': 'time_between/Dart/initialized/Dart/connected', |
| 49 } | 49 } |
| 50 ], | 50 ], |
| 51 'shell-args': [ | 51 'shell-args': [ |
| 52 '--args-for=mojo:dart_content_handler --disable-observatory --complete-tim
eline', | 52 '--args-for=mojo:dart_content_handler --disable-observatory --dart-timelin
e', |
| 53 ] | 53 ] |
| 54 }, | 54 }, |
| 55 { | 55 { |
| 56 'name': 'dart init run (message loop)', | 56 'name': 'dart init run (message loop)', |
| 57 'app': 'https://core.mojoapps.io/dart_startup.mojo', | 57 'app': 'https://core.mojoapps.io/dart_startup.mojo', |
| 58 'duration': 10, | 58 'duration': 10, |
| 59 'measurements': [ | 59 'measurements': [ |
| 60 { | 60 { |
| 61 'name': 'initialize', | 61 'name': 'initialize', |
| 62 'spec': 'time_until/Dart/initialized' | 62 'spec': 'time_until/Dart/initialized' |
| 63 }, | 63 }, |
| 64 { | 64 { |
| 65 'name': 'accept connection', | 65 'name': 'accept connection', |
| 66 'spec': 'time_between/Dart/initialized/Dart/connected', | 66 'spec': 'time_between/Dart/initialized/Dart/connected', |
| 67 } | 67 } |
| 68 ], | 68 ], |
| 69 'shell-args': [ | 69 'shell-args': [ |
| 70 '--args-for=mojo:dart_content_handler --run-on-message-loop --complete-tim
eline', | 70 '--args-for=mojo:dart_content_handler --run-on-message-loop --dart-timelin
e', |
| 71 ] | 71 ] |
| 72 }, | 72 }, |
| 73 { | 73 { |
| 74 'name': 'cpp init', | 74 'name': 'cpp init', |
| 75 'app': 'https://core.mojoapps.io/trace_me.mojo', | 75 'app': 'https://core.mojoapps.io/trace_me.mojo', |
| 76 'duration': 10, | 76 'duration': 10, |
| 77 'measurements': [ | 77 'measurements': [ |
| 78 { | 78 { |
| 79 'name': 'initialize', | 79 'name': 'initialize', |
| 80 'spec': 'time_until/trace_me/initialized', | 80 'spec': 'time_until/trace_me/initialized', |
| 81 }, | 81 }, |
| 82 { | 82 { |
| 83 'name': 'accept connection', | 83 'name': 'accept connection', |
| 84 'spec': 'time_between/trace_me/initialized/trace_me/connected', | 84 'spec': 'time_between/trace_me/initialized/trace_me/connected', |
| 85 } | 85 } |
| 86 ], | 86 ], |
| 87 'shell-args': [ | 87 'shell-args': [ |
| 88 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', | 88 '--args-for=https://core.mojoapps.io/trace_me.mojo --early-tracing', |
| 89 ] | 89 ] |
| 90 }, | 90 }, |
| 91 ] | 91 ] |
| 92 | 92 |
| OLD | NEW |