Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Improve autocompletion latency #671

Open
MichaelRFairhurst opened this issue Dec 3, 2018 · 1 comment
Open

Improve autocompletion latency #671

MichaelRFairhurst opened this issue Dec 3, 2018 · 1 comment

Comments

@MichaelRFairhurst
Copy link
Contributor

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
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant