Commit Graph

29 Commits

Author SHA1 Message Date
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
Jonas Termansen 371d8e934f Reorder tar exclude options in try_benchmarks.sh for forward compatibility.
The latest GNU tar(1) releases requires --exclude to come first or it has no
effect.

Change-Id: Ia41c01d167c4e283cea4210f90d3764a708d3dcb
Reviewed-on: https://dart-review.googlesource.com/60120
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-13 16:13:21 +00:00
Alexander Markov ef80524b4f [benchmarks trybot] Add precompiler_entry_points.json
Change-Id: I3edbf7b20f3ab7afce89d7adabd537a6e47133d0
Reviewed-on: https://dart-review.googlesource.com/46005
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-03-12 22:11:10 +00:00
Jonas Termansen e067f7fdfa The dart-dfe target is no longer being benchmarked.
Change-Id: I9188362c0f62e4df50a0b8262d03a183c615eedb
Reviewed-on: https://dart-review.googlesource.com/45703
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-03-09 13:31:08 +00:00
Siva Chandra 71dba8a0e5 Link the platform kernel with the command line dart executable.
Change-Id: Ib376a259e2e9ff9b487820c041d6795f8f7192d1
Reviewed-on: https://dart-review.googlesource.com/37420
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Siva Chandra <sivachandra@google.com>
2018-02-01 15:11:29 +00:00
Vyacheslav Egorov 4f17dea27d Add pkg/kernel/test/binary_bench.dart to try_benchmarks.sh
Change-Id: I6c6a54dbb10aac9e55f4f90e908432a162295dd3
Reviewed-on: https://dart-review.googlesource.com/23677
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2017-11-30 11:39:31 +00:00
Sigmund Cherem 2cf4dd41e9 Update try_benchmarks.sh to use correct platform file
Change-Id: Idf85e0a2f0ce3bafc6257ae8d5d1a8735f795835
Reviewed-on: https://dart-review.googlesource.com/23961
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2017-11-28 16:38:25 +00:00
Harry Terkelsen f5bb30ff73 Try building "Hello World" with the v2 dart2js
Change-Id: I7ffbbd0f0dc545dac0b1e7211d9848a5757d0151
Reviewed-on: https://dart-review.googlesource.com/20910
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2017-11-20 18:08:06 +00:00
Sigmund Cherem 3b73de2060 Rename 'driver' to 'default' in incremental_perf.dart
This just makes the name more appropriate since now that the default incremental
generator is not using kernel-driver altogether.

Change-Id: Ic7357dbb4eaad482f20249dd13ba3a49a39322d3
Reviewed-on: https://dart-review.googlesource.com/22160
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2017-11-20 18:03:56 +00:00
Sigmund Cherem 2a199ae689 Add flags to configure incremental_perf
This lets us benchmark separately:
- IKG implementations (the default based on kernel-driver or the minimal implementation)
- strong and non-strong mode

This also adds commands to try_benchmarks that highlight how these options will be used.

Change-Id: I5ce2c4563b7e79c33d78df7fd87be76f5d47e3f4
Reviewed-on: https://dart-review.googlesource.com/21320
Reviewed-by: Jonas Termansen <sortie@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2017-11-16 03:42:23 +00:00
Sigmund Cherem 3fa203ba1f Update try_benchmarks.sh to let fasta find the VM patch files
Change-Id: I200b8fd266e866f05e4353a383f89c235c29c80a
Reviewed-on: https://dart-review.googlesource.com/21002
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2017-11-15 20:23:23 +00:00
Vyacheslav Egorov 3e59066738 [golem] Update try_benchmarks.sh for dart-v2 and dart-aot-v2
* Ensure that strong platform and outline exist.
* Ensure that pkg/vm/tool scripts work.

Bug:
Change-Id: Ief8211b85f31767341f022d1389ceb06c4f90cd9
Reviewed-on: https://dart-review.googlesource.com/20722
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2017-11-15 07:06:51 +00:00
Jonas Termansen 529758bbff Fix benchmark-linux dart2js --checked test.
Change-Id: Id5e1263abdf191d8c7fb6535ffed97b7259d35d7
Reviewed-on: https://dart-review.googlesource.com/20981
Reviewed-by: Harry Terkelsen <het@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2017-11-15 01:25:24 +00:00
Jonas Termansen 57e05b9d0b Speed up benchmark-linux analyzer test.
This will reduce that test's runtime from 90 seconds to 3 seconds without
impacting coverage substantially.

Change-Id: I6d863d81420db6e09dc570e39623fed2d982d2be
Reviewed-on: https://dart-review.googlesource.com/20601
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2017-11-14 01:27:41 +00:00
Jonas Termansen baa286dfcc Add benchmark-linux builder.
This bot catches whenever benchmarks would break. By putting this bot in
the commit queue, we can avoid many kinds of benchmark breakage that would
otherwise require bothersome triaging and cleaning up after the fact.

This bot has been tested and runs in 21-27 minutes.

Change-Id: I0fc08425094b32cf77d5f1a2ed840ad1bb11aedf
Reviewed-on: https://dart-review.googlesource.com/19940
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Morten Krogh-jespersen <mkroghj@google.com>
2017-11-10 23:09:18 +00:00