Skip to content

Performance improvements

Choose a tag to compare

@davidmorgan davidmorgan released this 17 Mar 15:42
· 1008 commits to master since this release
fa791ed
  • Performance: speedup of between 1.4x for small initial builds to 4x for large
    incremental builds. See #4405 for full
    benchmark results. Optimizations included: faster management of files for
    analysis, re-use syntax errors computation, avoid a throw/catch on "not yet
    generated" source, copy asset graph without a serialization round trip,
    re-use trigger configuration digest.
  • Add --dart-aot-perf flag for profiling on Linux. Use it with --force-aot.
    It runs the builders under the perf profiling tool which writes to
    perf.data.
  • Add --verbose-durations flag that logs durations with greater precision.
  • Improve debugging instructions in README.md.
  • Bug fix: fix line wrapping in build_runner args usage output.