Commit Graph

64 Commits

Author SHA1 Message Date
Lasse R.H. Nielsen d352bc28b8 Remove (most) uses of the "non-nullable" experiment flag.
Since the flag is now enabled by default, there should be no mention of it.
There are still some uses in front_end/testcases that are not just removable
(it also uses `no-non-nullable`). There migth be more uses that are not
as easily found as grepping for `--enable-experiment

Removes two VM tests where fixing them meant they were just duplicating
the corresponding non *_2/ tests.
Fixes #44941

TEST= Large number of tests chaged.=(no-)?non-nullable`.

Change-Id: Ief755981ccde9a5482fcdf408c2929c74433a710
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/183688
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-02-12 17:16:54 +00:00
Jonas Termansen 7e8e2222cd [benchmark] Build dart2js platforms in try_benchmarks.
This change synchronizes the try_benchmarks script with the commands
currently used to build for benchmarking and adds a test that the
IsolateSpawn benchmark continues to work.

Change-Id: I37066fb8a246e0003bdccd7c4dbb5b84060b30f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170982
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-11-09 20:01:49 +00:00
Nicholas Shahan 1869a54132 [ddc] Update ddb to run with ddc/legacy modules in d8
- Fixes broken benchmarks in ddc because the benchmarks run in
  d8 with the ddc module system can handle conflicting library
  names more gracefully than es6.

- In the future we need to update the source of truth for
  dart_library.js so we can keep the file in sync.

- Removes the ability for ddb to run with any precompiled sdk.js
  from a dart installation. Now you must run a build first and
  the sdk.js files from that build will be used. This means the
  `--debug` flag no longer changes which sdk.js files are used.

Change-Id: Icaf78956f93ff643d23e68001354ec08c9c28b12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166926
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2020-10-24 00:14:42 +00:00
Alexander Markov d966612cc3 Remove remaining bytecode benchmarks
Change-Id: I7baca41921a2f657dc658b9c3585832109b74a1e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167880
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-10-16 20:21:32 +00:00
Jonas Termansen 5f459d0228 [benchmark] Remove fasta_perf dependency on runtime/lib.
The pkg/front_end/tool/fasta_perf.dart benchmark used to require
runtime/lib in order to run but this directory is no longer required.
This change removes the check for whether it exists and then removes the
directory in SDK benchmark builds to avoid VM source code littering the
benchmark builds and blurring the distinction between build inputs and
build outputs.

Change-Id: Ibb02ce3bd6e4a65421c2bdd444ef0f78887fffa1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164966
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-09-29 12:05:25 +00:00
Jonas Termansen e27ee99af3 [benchmark] Remove obsolete tools/dart2js/angular2_testing_deps.
Change-Id: Ibfd43cec3dc691f267491c7752bba3e9d41caa2d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162005
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-23 18:07:08 +00:00
Konstantin Shcheglov ebd5b622ba Add DartSdk.languageVersion
Bug: https://github.com/dart-lang/build/issues/2763#issuecomment-666707445
Change-Id: I8232bd395abc9efea0e5c27716450d6a5442b3bb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156489
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2020-08-04 21:01:09 +00:00
Jonas Termansen 4c74ebb367 [benchmark] Add dartdevc-null targets.
Change-Id: I130db1cb41a3f6a4d4254cbdd6782bc5bb44c351
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155446
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2020-07-24 10:06:36 +00:00
Jonas Termansen e7abc41107 [benchmark] Use the VM from the SDK for analyzer benchmarks.
Change-Id: Ia0beb25928a469cb22c77bed2709cf970d495225
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154325
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2020-07-14 16:05:47 +00:00
Jonas Termansen 7a1d6a9942 [benchmark] run_vm_tests with kernel-service.dart.snapshot.
This change tests that run_vm_tests runs correctly when provided with
the kernel service snapshot, which is needed to run benchmarks like
UseDartApi.

Test building the kernel-service.dart.snapshot.

Change-Id: I1cb750a16e32daba2eee46e245cc7d4e7d230165
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151395
Reviewed-by: Alexander Aprelev <aam@google.com>
2020-07-10 13:35:03 +00:00
Jonas Termansen c84c1cb832 [benchmark] Don't pass --sound-null-safety to dart_precompiled_runtime2.
The autodetection was fixed in bbc8aedada,
so the workaround of passing --sound-null-safety to the AOT runtime is
no longer needed.

This change tests that the autodetection does in fact work.

Bug: https://github.com/dart-lang/sdk/issues/42421
Change-Id: Ibbe9665905e817a28964b698e6c437897c9dc6ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153771
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2020-07-09 17:21:52 +00:00
Alexander Markov 6f6b1f8818 [vm] Rename --null-safety option to --sound-null-safety
Deprecated option --null-safety still remains in order to allow
graceful migration.

Fixes https://github.com/dart-lang/sdk/issues/41853

Change-Id: Ie47b1bebc9dd6532658a60743ecb85dc7fdc108c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153660
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-07-09 01:37:23 +00:00
Jonas Termansen d47395255b [benchmark] dartdevc doesn't need the --kernel option anymore.
Change-Id: Ibb90f674b181de225ccb4db7087c5733122f2891
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153463
Auto-Submit: Jonas Termansen <sortie@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2020-07-07 16:11:51 +00:00
Jonas Termansen a0d77cbc69 [benchmark] Test dart2js sound nullability options.
Change-Id: Ie548ad57094cd334b95d1c49f2a8f02ce762f56f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153207
Reviewed-by: Alexander Thomas <athom@google.com>
2020-07-03 14:27:32 +00:00
Daco Harkes 585fa217a1 [benchmarks/ffi] Migrate benchmarks to NNBD
Change-Id: I36568f4f4d59c0a337aab82b6ca15d40495cb269
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152850
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Clement Skau <cskau@google.com>
2020-06-30 14:44:27 +00:00
Jonas Termansen 5001e461ea [benchmark] Test null safe options.
TBR=athom@google.com

Change-Id: Ic3ea7969ea486f646669e0cff6bb59385bc927c0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151843
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-06-30 10:31:26 +00:00
Jonas Termansen 4a7e14a025 [benchmark] Add .dart_tool/package_config.json to builds.
Change-Id: I8043c207a95492f00442750e4cb31700495b799d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151513
Reviewed-by: Alexander Thomas <athom@google.com>
2020-06-17 19:35:23 +00:00
Leaf Petersen d44457f79d [Core Libraries] Eliminate the fork in the core libraries.
Move the nnbd core libraries from sdk_nnbd to sdk, and updates
references in build files and elsewhere accordingly.

Change-Id: I09760fe1e006657aacdfe80f3b22fdf6f7e30a9f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151121
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2020-06-16 23:37:36 +00:00
Jonas Termansen f40875bf1b [benchmark] Test dart2 implementations in try_benchmarks
Change-Id: Ic2d893f5a58a2c758f317084bb1b1fabed2ae857
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150621
Reviewed-by: Alexander Thomas <athom@google.com>
2020-06-10 09:36:53 +00:00
Jonas Termansen 8b5224733a [benchmark] Add sdk_nnbd directory to benchmark builds.
Change-Id: I0dfcc0d7c8f51945ad7c64baaa8c0c2129b1e561
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147908
Reviewed-by: Alexander Thomas <athom@google.com>
2020-05-13 16:53:42 +00:00
Jonas Termansen fd97153cdb [benchmark] Remove dart-ast, dart-aot-ast, and dart-bytecode targets.
Change-Id: I71fd758d5bca134d6cea36d40d4564bd7d6ad1c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/142027
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2020-04-03 19:44:18 +00:00
Jonas Termansen 90526d4aaf [benchmark] Switch dart2js and dartdevc targets to linux-x64.
Change-Id: If0f6c839ddd0032640f023855f5163368802a794
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128700
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2019-12-19 13:19:36 +00:00
Jonas Termansen ae14121ce7 [benchmark] Test addition of the whole d8 directory to builds.
Change-Id: I152c86b3e0e48944940291b8f2c0c5a20f9a4c1b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127142
Reviewed-by: Stephen Adams <sra@google.com>
2019-12-05 12:29:31 +00:00
Jonas Termansen 47ce35faf8 [benchmark] Exclude large front end tests and fix tensorflow exclusion.
This change updates tools/bots/try_benchmarks.sh to exclude the front_end
testcases directory, which contains very large binary files (186 MB) that
are not needed to run benchmarks. It also fixes the exclusion pattern for
the very large tensorflow language models (116 MB) that moved to another
directory.

While here, also synchronize back the removal of the profile tarball step
which was removed 3 months ago.

Change-Id: I76260eaf8db95d59be3b57eaecc86548c9d21b9c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126723
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-11-29 13:17:53 +00:00
Jonas Termansen 7b39f438ed [benchmark] Test that precompiler2 --no-gen-bytecode continues to work.
Change-Id: I3819c5a4dd6b4df96bc34322432aeb078ab2724f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122151
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-10-21 17:21:40 +00:00
Alexander Aprelev 5f198ae1c8 [vm/benchmarks] Add IsolateSpawn spawn latency and memory benchmarks.
The benchmark spawns an isolate that compiles hello world app with dart2js, measures time it takes for spawned isolate to get up and running, measures delta rss when isolate is spawned.

This also adds analysis_options.yaml that helps with keeping the code lint-free.

Change-Id: I5f1ffa9706766cd00bf1ea3fdad76957952de8a1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119538
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2019-10-11 19:52:12 +00:00
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
Jonas Termansen 27c8d8b7a8 [benchmark] Stop benchmarking fasta in legacy mode.
This mode is no longer relevant and doesn't need to be benchmarked.

I didn't remove the legacy entry points in

* pkg/front_end/tool/fasta_perf.dart
* pkg/front_end/tool/incremental_perf.dart

as that would allow a cascade of simplifications that's probably better done
by the front end team.

Change-Id: Iffd977cfdf322aa181025920423083f4ab9de75f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113688
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-08-20 09:02:12 +00:00
Jonas Termansen 464cea0a9f [benchmark] Test dart2js-x continues to work.
Remove remnant of dart2js-checked.

Change-Id: I6714acc2cead23d4166eff1869ae51c3d3bac1ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113693
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-20 08:48:28 +00:00
Jonas Termansen 208c8dd0c0 [benchmark] Remove SIMDBC benchmark test coverage.
This removes 1 minute of build time from the benchmark-linux-try CQ builder.

Change-Id: I327b35cf50687bee26a3b12dedfdf5fc053c26ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113323
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-08-19 14:38:43 +00:00
Jonas Termansen 2f02836576 [benchmark] The large tensorflow models are not needed for benchmarking.
Change-Id: I1d1fdcdf5bddc0c263ae41086c9d9e682d9e6d49
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112901
Reviewed-by: William Hesse <whesse@google.com>
2019-08-13 16:06:34 +00:00
Daco Harkes 51f4574e50 Reland "[vm/ffi] Support structs on 32bit architectures"
Fixes alignment checks on GCC <= 7 and Clang <= 7.

Fixes: https://github.com/dart-lang/sdk/issues/37559
Fixes: https://github.com/dart-lang/sdk/issues/36334

Original CL is in patchset 1.

Tested GCC 7 and Clang 7 behavior of alignof and offsetof manually (our CQ uses newer tooling).

Change-Id: I828b00ad3d36be68a0d28b0a710fea938ca17784
Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try, app-kernel-linux-debug-x64-try, vm-kernel-linux-debug-simdbc64-try,vm-kernel-linux-debug-ia32-try,vm-dartkb-linux-debug-simarm64-try,vm-kernel-win-debug-x64-try,vm-kernel-win-debug-ia32-try,vm-dartkb-linux-debug-x64-try,vm-kernel-precomp-linux-debug-x64-try,vm-ffi-android-product-arm-try,vm-dartkb-linux-release-x64-abi-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112254
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2019-08-09 14:14:32 +00:00
Alexander Aprelev dd59b193c7 Revert 52cace8160 as it breaks flutter tests on android nexus 5x.
This reverts 'Reland "[vm/ffi] Support structs on 32bit architectures"' 52cace8160 reviewed on https://dart-review.googlesource.com/c/sdk/+/108818, reverts FfiStruct part of https://dart-review.googlesource.com/c/sdk/+/108724.

```
runtime/vm/compiler/ffi.cc:63:1: error: static_assert failed "FFI transformation alignment"
static_assert(alignof(double) == 4, "FFI transformation alignment");
^             ~~~~~~~~~~~~~~~~~~~~
runtime/vm/compiler/ffi.cc:64:1: error: static_assert failed "FFI transformation alignment"
static_assert(alignof(uint64_t) == 4, "FFI transformation alignment");
^             ~~~~~~~~~~~~~~~~~~
````

Change-Id: I0c3bf985f68b2184261e8999320f8ee89fe3f896
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110362
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-07-25 04:00:23 +00:00
Daco Harkes fbf13f561f [benchmarks/ffi] Add micro and macro benchmarks for dart:ffi
Adds micro benchmarks to measure low level (1) C memory reads and writes from Dart and (2) calls from Dart into C. This CL also adds a macro benchmark to measure overall performance using BoringSSL to digest data. The shared libraries are precompiled for Linux and live in cipd packages. The benchmarks run on all hardware architectures (with the exception of Linux'es hardfp on Arm32: https://github.com/dart-lang/sdk/issues/36309).

Issue: https://github.com/dart-lang/sdk/issues/36247

Change-Id: I8dfb30cc66a26a2942bb09194c5eb0da0b6ca1b5
Cq-Include-Trybots: luci.dart.try:benchmark-linux-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108724
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Auto-Submit: Daco Harkes <dacoharkes@google.com>
2019-07-19 14:59:57 +00:00
Jonas Termansen 24d57fb745 [benchmark] Add top level benchmarks directory.
Benchmarks are checked in as benchmarks/<Benchmark>/dart/<Benchmark>.dart.
This scheme is compatible with our existing benchmarking infrastructure
and will aid migrating the benchmarks with minimal breakage.

This change adds an Example benchmark to show how it is done.

The benchmarks directory is now added to the Dart benchmarking builds.

Change-Id: I25971ba3b219194fa9cfea6b938372d877477e28
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108414
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-07-10 14:51:14 +00:00
Jonas Termansen 16eee4a141 [benchmark] Add gen/kernel_service.dill to try_benchmarks.sh.
Change-Id: Ic71f8a1be4c7ef37b52a6bfb173cc7d8d5438170
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106344
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-06-19 09:25:03 +00:00
Jonas Termansen 8754eb128c Test bytecode benchmarks when built with bytecode support.
This change adds a commit queue test that the bytecode benchmarks continue
to work in order to avoid any future unintended breakage.

The new linux-x64-bytecode build is exactly the same as the linux-x64 build
except without the SIMDBC build.

This change also moves the build from the script out to the test matrix,
which let's Goma work correctly, speeding the builder considerably up.

Change-Id: Ifc275c55e405f8dcd7e98a8f15c651602a6dfc4f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98326
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-04-03 11:35:17 +00:00
Jonas Termansen b60eae48e5 Test that VM interpreter, bytecode, and unoptimized benchmarks can run.
Change-Id: I9264ac1589c54196089db2559d81ce735db4b8bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97333
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-03-22 14:56:13 +00:00
William Hesse a533753bec Remove --fast-startup flag support from testing scripts and status files
Change-Id: Icfb4aa228c0f13bf9fce25aeb7bacbf1e38497ee
Reviewed-on: https://dart-review.googlesource.com/c/89582
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-01-16 11:32:44 +00:00
Jonas Termansen 5b1fcb09df Remove d2fe ikg minimal benchmark from commit queue.
Change-Id: I343d37206f614ff5def567faea88c3eb5af7881b
Reviewed-on: https://dart-review.googlesource.com/c/79580
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-10-12 13:38:18 +00:00
Jonas Termansen 8247fb7eec Stop stripping d8 for benchmarking.
Change-Id: I7eb304671fd891e9a02c40442b766b6ee1c23bed
Reviewed-on: https://dart-review.googlesource.com/c/79021
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-10 11:51:27 +00:00
Jonas Termansen ec4663ee5c Don't build runtime_kernel in benchmarks.
runtime_kernel is now the same as just runtime.

Confirm the gen_snapshot build target continues to work.

Change-Id: Ia282d7ba63c53ae8b35dad947d3dbbb671309e26
Reviewed-on: https://dart-review.googlesource.com/c/77801
Reviewed-by: Siva Annamalai <asiva@google.com>
2018-10-04 07:37:53 +00:00
asiva 30aa464f77 [VM] Remove 'corelib' and 'dart-io' sources generation into C++ arrays
- Remove all code that generates the corelib and dart:io library sources into C++ arrays and link them into dart_bootstrap
- Remove the executable dart_bootstrap and all uses of it
- Remove bootstrap_nolib.cc and builtin_nocore.cc
- Remove the Dart 1 code in core lib bootstrap path

Change-Id: Ifd33496204285a08b42fe09e39428e7a92b416b6
Reviewed-on: https://dart-review.googlesource.com/c/77241
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-10-02 23:27:05 +00:00
Zach Anderson 5940ba21d2 [benchmark] Add gen_kernel_bytecode.dill to try_benchmarks.sh
Change-Id: Iaf0a52324fdef082df14f9affb2a316757e4a0ea
Reviewed-on: https://dart-review.googlesource.com/76702
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2018-09-26 17:01:34 +00:00
asiva a0776096b9 Cleanup some of the build rules to not use Dart 1 mode.
Change-Id: I799ae7e910b90047a76151e47fc4c46d20f46ff7
Reviewed-on: https://dart-review.googlesource.com/74493
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Samir Jindel <sjindel@google.com>
2018-09-19 22:23:33 +00:00
Jonas Termansen 5cba87a500 Test that the run_vm_tests benchmarks continue to work.
This change prevents the regression introduced in commit
cd3ddede99 and fixed in
e62a2084c1 from occuring again.

Change-Id: Id3f70fa1c31c3f8a833120ec1c345a7f0db5daf6
Reviewed-on: https://dart-review.googlesource.com/74060
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-09-10 09:18:45 +00:00
Paul Berry 9a243b35eb Remove summary-related code from pkg/front_end/tool/perf.dart.
This was needed back when we thought the front end would be based on
the analyzer, and so we thought its performance characteristics would
depend on those of the analyzer summary mechanism.  But since the
front end is not based on the analyzer, and the performance of the
analyzer summary mechanism is performance tested elsewhere, we can
remove this code.  Removing it will make it easier to do some re-work
of summaries that is needed for Dart 2.1 support.

Change-Id: I4aa8b5251f26ba7fd59b99d325c66da642d410ed
Reviewed-on: https://dart-review.googlesource.com/71661
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2018-08-30 00:09:55 +00:00
asiva 0a29264117 [VM] Remove vm_platform from the dart binary
- Remove vm_platform from the dart binary
- kernel isolate always compiles in strong mode

Change-Id: I4e3973fdaee0bda1c43244ea04673f253eaae249
Reviewed-on: https://dart-review.googlesource.com/65788
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2018-08-24 15:45:04 +00:00
Jonas Termansen a38b9bed23 Restore dart2js-checked and dart-aot in try_benchmarks.sh.
Change-Id: Ie25d426f62768431cdaf4e18c3819ce675c38d4b
Reviewed-on: https://dart-review.googlesource.com/60880
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-06-19 13:34:55 +00:00
Jonas Termansen e2d72aad91 Prepare tools/bots/try_benchmarks.sh for Dart 2.
Change-Id: Ifa56dc223b9f559df6cf7b0d95569a30a4a2ebec
Reviewed-on: https://dart-review.googlesource.com/59883
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
2018-06-17 04:44:45 +00:00