commit | b41922f9253a59ed693d238f2d1332684b5873a6 | [log] [tgz] |
---|---|---|
author | Jens Johansen <jensj@google.com> | Fri Feb 04 17:41:59 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 04 17:41:59 2022 +0000 |
tree | 9e4538ca36a5f344d37e653a5654381bf50caf3a | |
parent | f69d1f887feeda0a9911d25d3cf112bd1726e32d [diff] |
[DDC][infra] Shard DDC nnbd differently Currently: * "ddc nnbd weak tests" is split into 5 shards. * "ddc nnbd weak co19 tests" is split into 2 shards. * "ddc nnbd strong tests" is not spit into shards. * "ddc nnbd strong co19 tests" is not spit into shards. From a recent run taking a total of 45 minutes the timings were like this: ``` ddc nnbd weak tests shard 1: 02:57 ddc nnbd weak tests shard 2: 01:56 ddc nnbd weak tests shard 3: 02:16 ddc nnbd weak tests shard 4: 01:49 ddc nnbd weak tests shard 5: 02:31 ``` (i.e. a combined total time of 11:39 if run one after another) ``` ddc nnbd weak co19 tests shard 1: 08:45 ddc nnbd weak co19 tests shard 2: 09:48 ``` (i.e. a combined total time of 18:33 if run one after another) ``` ddc nnbd strong tests: 09:51 ``` ``` ddc nnbd strong co19 tests: 20:44 ``` Here I try to change the sharding "robin hood style" so that "ddc nnbd weak tests shard" which seems pretty fast gets fewer, but "ddc nnbd strong co19 tests" gets sharded. Hopefully the result will be something like ddc nnbd weak tests shard 1: 06:00 ddc nnbd weak tests shard 2: 06:00 ddc nnbd weak co19 tests shard 1: 09:00 ddc nnbd weak co19 tests shard 2: 09:00 ddc nnbd strong co19 tests shard 1: 7:00 ddc nnbd strong co19 tests shard 2: 7:00 ddc nnbd strong co19 tests shard 3: 7:00 ddc nnbd strong tests: 10:00 Which - with the same number of shards used - would hopefully cut off ~20 minutes (as the shards run concurrently) Update: Total runtime was ~21 minutes, and runtimes seems pretty agreeing with the expected. Change-Id: Ie699e5687ab9a0d49cd197a4064bc8007d1dd806 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231700 Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.