commit | d017b8eee8e89545cfd1f23b88519faecff7e2f0 | [log] [tgz] |
---|---|---|
author | Tess Strickland <sstrickl@google.com> | Fri Dec 18 00:42:14 2020 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Dec 18 00:42:14 2020 +0000 |
tree | 3a9c23d69c9f2389d9887363b32553a618f463ae | |
parent | 100e12b6cdd19999d7641606e85ce397ffe73ba4 [diff] |
[vm] Compress CodeSourceMaps by folding opcodes and arguments. Also delta encode the position/line argument for ChangePosition. Code size changes on Flutter gallery in release mode from compression: * ARM7: total -1.39%, readonly -6.47% * ARM8: total -1.28%, readonly -4.81% Additional code size changes on Flutter gallery in release mode from delta encoding position/line: * ARM7: total -0.48%, readonly -2.37% * ARM8: total -0.54%, readonly -2.09% TEST=Existing test on trybots, including stack trace tests and DWARF decoding tests. Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-linux-debug-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-linux-debug-x64-try,vm-kernel-linux-release-x64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-linux-product-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-debug-simarm_x64-try,vm-kernel-precomp-linux-release-simarm64-try,vm-kernel-linux-release-simarm64-try,vm-kernel-linux-release-simarm-try,vm-kernel-linux-release-ia32-try Change-Id: Ibaf96b1d6c1916ce2f7c71942e333ca7a0b86c3e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175725 Commit-Queue: Tess Strickland <sstrickl@google.com> Reviewed-by: Ryan Macnak <rmacnak@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, getting started, and more.
Browse pub.dev 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.