commit | f31589c93f763e435fe6a8a8d04fb1de45ce8b49 | [log] [tgz] |
---|---|---|
author | Ari Aye <ariaye@google.com> | Wed Aug 14 13:29:17 2019 +0000 |
committer | Alexander Thomas <athom@google.com> | Thu Aug 15 16:04:53 2019 +0200 |
tree | 4c43fe8933cff5c9331ad1f3c76699f971bbd092 | |
parent | 21a6fe41014db2b9b5647d70e751b268718157d2 [diff] |
Use a small pool of code completion model isolates This change makes it so that model can parallelize load over a handful of isolates when a user is typing very quickly instead of relying on a single isolate. I played around with this manually while looking at the diagnostics graphs and found that model response latency grows with consecutive requests using a single isolate. Four isolates kept latency constant even as I typed very quickly. Change-Id: Id03afc67cb7d6a9e13605393a8658835bd88e4b5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113000 Reviewed-by: Brian Wilkerson <brianwilkerson@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 has 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.
Visit the 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.