|
|
|
|
|
by markdog12
3369 days ago
|
|
You might want to watch this talk on AOT compiling Dart, I'll link right to the perf benchmarks: https://youtu.be/lqE4u8s8Iik?t=9m28s I think it's a work in progress, but main benefit at least at the time was faster startup. |
|
Unlike the script snapshots, application snapshots also include CPU-specific native code in addition to the serialized token stream of the source code.
So, you don't just skip the parsing stage, you also skip the warmup phase. Your application starts instantly and it runs at full speed from the get-go.
https://github.com/dart-lang/sdk/wiki/Snapshots