commit | 89cec72771ad0df061d9b9975297749d1495a633 | [log] [tgz] |
---|---|---|
author | Jens Johansen <jensj@google.com> | Wed Feb 21 14:35:16 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Feb 21 14:35:16 2018 +0000 |
tree | babe09f17903ddd1c778ebce95193a56d0fd2d4f | |
parent | b119f7a4cd0d942b74b3debc191fd45a6c9f18cb [diff] |
[kernel] Add two new kernel tools; add error handling in existing tools. This CL adds two new kernel tools which can answer questions about a dill file: * count_breakdown.dart Enumerates the different node types in the provided dill file and counts them. This has proved useful in the past to e.g. see how many doubles are included in Flutter. * size_breakdown.dart Gives an overview of which parts of the dill file contributes how many bytes. This has proved useful in the past to see that the string table gets huge when we have many doubles (because we currently save doubles in kernel as strings). It also adds error handling and usage information to existing tools. Change-Id: Ie2ce9e4b8806d5975dba8f57445705a840be3474 Reviewed-on: https://dart-review.googlesource.com/42660 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Kevin Millikin <kmillikin@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.