angular_analyzer_plugin icon indicating copy to clipboard operation
angular_analyzer_plugin copied to clipboard

Improve autocompletion latency

Open MichaelRFairhurst opened this issue 7 years ago • 1 comments

I've noticed a big cause of latency is giant directive lists:

directives: [
  OMEGA_LIST_OF_ZILLIONS_OF_DIRECTIVES,
  ...
],
  template: "<one-directive-from-list>...

The cost of analyzing each directive's source to "link" them pre completion is really high.

It would be a really good idea to do this lazily.

Importance and severity are both really high because intelliJ (or maybe its the DAS plugin API, I forget) has a maximum timeout and for certain cases we miss that timeout entirely and autocompletion just doesn't even work.

MichaelRFairhurst avatar Dec 03 '18 19:12 MichaelRFairhurst

It seems @manuscle for instance is getting timeouts. Definitely a P1.

MichaelRFairhurst avatar Jan 23 '19 17:01 MichaelRFairhurst