41cf066906
With this change we reduce the amount of IO operations. This is especially a huge factor in windows since IO ops are slower. With this change mainly we cache `existsSync` and `readFileSync` calls Here's the results Before ``` //packages/language-service/test:test INFO: Elapsed time: 258.755s, Critical Path: 253.91s ``` After ``` //packages/language-service/test:test INFO: Elapsed time: 66.403s, Critical Path: 63.13s ``` PR Close #30585 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
completions_spec.ts | ||
definitions_spec.ts | ||
diagnostics_spec.ts | ||
hover_spec.ts | ||
html_info_spec.ts | ||
language_service_spec.ts | ||
reflector_host_spec.ts | ||
template_references_spec.ts | ||
test_data.ts | ||
test_utils.ts | ||
ts_plugin_spec.ts | ||
typescript_host_spec.ts |