b627f7f02e
Some compiler tests take a long time to run, even using multiple executors. A profiling session revealed that most time is spent in parsing source files, especially the default libraries are expensive to parse. The default library files are constant across all tests, so this commit introduces a shared cache of parsed source files of the default libraries. This achieves a significant improvement for several targets on my machine: //packages/compiler-cli/test/compliance: from 23s to 5s. //packages/compiler-cli/test/ngtsc: from 115s to 11s. Note that the number of shards for the compliance tests has been halved, as the extra shards no longer provide any speedup. PR Close #38909 |
||
---|---|---|
.. | ||
README.md | ||
compiler_spec.ts | ||
jit_summaries_spec.ts | ||
regression_spec.ts | ||
static_reflector_spec.ts | ||
static_symbol_resolver_spec.ts | ||
summary_resolver_spec.ts | ||
summary_serializer_spec.ts | ||
test_util.ts |
README.md
Tests in this directory are excluded from running in the browser and only run in node.