02d557d134
This CL adds support for using sdk summaries when building kernel using the front_end entrypoint. I didn't expose this functionality in the dartk binary, I'm hoping we can delay doing so until we integrate dartk and front_end. I also switched front_end/tool/perf.dart to use kernel_generator directly. This makes some observable difference for small scripts, but not so much with large apps like dart2js. Makes sense considering that the sdk is about 2Mb, and dart2js is 6Mb of sources. The most interesting number I got is building the a library kernel file (not the whole program) for a small hello-world script on a warmed up vm: no summaries: 500ms with summaries: 30ms R=asgerf@google.com, paulberry@google.com Review-Url: https://codereview.chromium.org/2562923002 .
A frontend using the Dart analyzer.