Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lens] Performance bottleneck when changing label in dimension editor #69568

Closed
wylieconlon opened this issue Jun 18, 2020 · 3 comments · Fixed by #69978
Closed

[Lens] Performance bottleneck when changing label in dimension editor #69568

wylieconlon opened this issue Jun 18, 2020 · 3 comments · Fixed by #69978
Assignees
Labels
Feature:Lens performance Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

I'm just documenting that this issue exists, but it's unclear how to solve it. Steps to reproduce:

  1. Configure any chart in Lens
  2. Open the dimension editor and type into the label box
  3. The entire Lens UI freezes while you type
  4. Seconds after typing, the Lens UI updates again
@wylieconlon wylieconlon added performance Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jun 18, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293
Copy link
Contributor

@wylieconlon What do you think about debouncing the input field, keeping a transient local state and only call setState once every x milliseconds?

@wylieconlon
Copy link
Contributor Author

@flash1293 sounds like the first thing to try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens performance Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants