commit | d854c77e58de9ceb3b2d0355c439c593f3730b44 | [log] [tgz] |
---|---|---|
author | Jens Johansen <jensj@google.com> | Wed Sep 06 08:40:50 2017 +0200 |
committer | Jens Johansen <jensj@google.com> | Wed Sep 06 11:56:24 2017 +0000 |
tree | 18fcf7c5bd57489ca9d9fefb6990463d6c70009c | |
parent | 3e599229b922001365fd022e125d242fb36cc0d5 [diff] |
[kernel] Only serialize non-external libaries and sources from those. Previously the VM couldn't handle external libraries, but that was fixed in 2f4919852095ee3287d35e138184c11e29b3ce8d. Part of the CL was reverted though because the compilatin was changed to using an outline instead of the platform which doesn't work. What does work though, is not including the external libraries in the output. This CL makes the following changes: * Don't include external libraries in the output (by not setting all libraries to be non-external). * Only writes the sources actually used to the binary (i.e. whatever libraries left out because they were external will not contribute source code either). * Cleanup of now unused code. Timings (only run once though): Without this CL (but with the CL it's based on): $ time python tools/test.py -m release -cdartk language -j6 Test configuration: dartk_vm_release_x64 [05:43 | 100% | + 3504 | - 0] real 5m43.597s user 33m48.152s sys 9m34.140s Only the "utils/kernel-service/kernel-service.dart" part of this CL: $ time python tools/test.py -m release -cdartk language -j6 Test configuration: dartk_vm_release_x64 [04:55 | 100% | + 3504 | - 0] real 4m55.684s user 29m54.360s sys 8m7.408s Entire CL: $ time python tools/test.py -m release -cdartk language -j6 Test configuration: dartk_vm_release_x64 [04:20 | 100% | + 3504 | - 0] real 4m20.416s user 27m17.320s sys 6m53.472s Change-Id: Ie9c5bfa958e558a5007784e821a0b58d417bae55 Reviewed-on: https://dart-review.googlesource.com/3161 Reviewed-by: Samir Jindel <sjindel@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
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.