dart-sdk/sdk_nnbd/bin
Jonas Termansen 8cbc4f3982 [benchmark] Add support for benchmarking DDC.
This change adds the required support to benchmark DDC just like dart2js.

The ddb tool gains the following options:

  --compile-vm-options=VM-OPTIONS
      The value of the DART_VM_OPTIONS environment variable set when running
      dartdevc. This option is required to measure the memory use of
      dartdevc while compiling.

  --packages=PACKAGES-FILE
      The .packages file to use when compiling. This option is required for
      special benchmarks with a .packages in a subdirectory and is generally
      useful.

  --out=OUTPUT-FILE
      Write the compiled javascript to this path and the other generated
      files along it. This option makes the benchmark configuration easier
      and is generally useful.

The dartdevc and dartdevc.bat scripts in the released Dart SDK now gains
support for the DART_VM_OPTIONS environment variable, just like the dart2js
scripts. This feature is needed to measure the memory usage of the Dart VM
executing dartdevc.

tools/bots/try_benchmarks.sh now tests that ddb can compile and run
benchmarks using the needed features.

Change-Id: Ib1ef07b0888a8c0cf900fe2fbb5697aab733db08
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118440
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2019-09-25 09:48:00 +00:00
..
dart Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2aot Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2aot.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js_developer Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js_developer.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js_sdk Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2js_sdk.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2native Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dart2native.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer_developer Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer_developer.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer_sdk Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartanalyzer_sdk.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartdevc Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartdevc.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartdevc_sdk [benchmark] Add support for benchmarking DDC. 2019-09-25 09:48:00 +00:00
dartdevc_sdk.bat [benchmark] Add support for benchmarking DDC. 2019-09-25 09:48:00 +00:00
dartdoc Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartdoc.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartfmt Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartfmt.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartfmt_sdk Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
dartfmt_sdk.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
pub Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
pub.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
pub_sdk Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00
pub_sdk.bat Make a fork of sdk/lib for use by NNBD. 2019-09-10 19:20:12 +00:00