dart2js kernel: DeferredImportsTask is slow #31520
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
dart2js-kernel
web-dart2js
On a large app, the AST pipeline spends ~2s in DeferredImportsTask, the Kernel pipeline ~20s.
Profiling shows ~8% on the line below starting with
.any(
.It seems like collecting the
additionalExports
into a cached Set would fix the immediate performance problem.The text was updated successfully, but these errors were encountered: