mirror of
https://github.com/dart-lang/sdk
synced 2024-07-20 09:54:38 +00:00
8cbc4f3982
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> |
||
---|---|---|
.. | ||
dart | ||
dart.bat | ||
dart2aot | ||
dart2aot.bat | ||
dart2js | ||
dart2js.bat | ||
dart2js_developer | ||
dart2js_developer.bat | ||
dart2js_sdk | ||
dart2js_sdk.bat | ||
dart2native | ||
dart2native.bat | ||
dartanalyzer | ||
dartanalyzer.bat | ||
dartanalyzer_developer | ||
dartanalyzer_developer.bat | ||
dartanalyzer_sdk | ||
dartanalyzer_sdk.bat | ||
dartdevc | ||
dartdevc.bat | ||
dartdevc_sdk | ||
dartdevc_sdk.bat | ||
dartdoc | ||
dartdoc.bat | ||
dartfmt | ||
dartfmt.bat | ||
dartfmt_sdk | ||
dartfmt_sdk.bat | ||
pub | ||
pub.bat | ||
pub_sdk | ||
pub_sdk.bat |