angular-cn/packages/language-service/test
Alan 41cf066906 test: improve language service tests performance (#30585)
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
2019-05-24 18:17:21 -04:00
..
BUILD.bazel build: update rules_nodejs and clean up bazel warnings (#30370) 2019-05-14 10:08:45 -07:00
completions_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
definitions_spec.ts refactor: using ᐱ instead of Δ in tests (#30338) 2019-05-08 12:00:25 -07:00
diagnostics_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
hover_spec.ts refactor: using ᐱ instead of Δ in tests (#30338) 2019-05-08 12:00:25 -07:00
html_info_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
language_service_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
reflector_host_spec.ts test: improve language service tests performance (#30585) 2019-05-24 18:17:21 -04:00
template_references_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
test_data.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
test_utils.ts test: improve language service tests performance (#30585) 2019-05-24 18:17:21 -04:00
ts_plugin_spec.ts refactor: clean up language service from unused code and imports (#30534) 2019-05-17 13:32:06 -07:00
typescript_host_spec.ts fix(language-service): Clear caches when program changes (#21337) 2018-01-12 14:43:01 -08:00