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

TSVB: Improve performance / lag when interacting with a large number of series #14799

Closed
Tracked by #178
alexfrancoeur opened this issue Nov 6, 2017 · 5 comments · Fixed by #143186
Closed
Tracked by #178
Assignees
Labels
Feature:Lens Feature:TSVB TSVB (Time Series Visual Builder) performance Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@alexfrancoeur
Copy link

When loading multiple charts in TSVB on a dashboard with ~50+ series in each visualization, we begin to see lag interacting with the time series charts. The synchronized lines and updating the legend may be the cause of this. We'll use this issue to track possible solutions for improving the performance of TSVB charts within a dashboard that contain large numbers of data points.

cc: @ppf2 @simianhacker @mattapperson

@alexfrancoeur alexfrancoeur added Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Nov 6, 2017
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Sep 16, 2018
@timductive timductive added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Jul 20, 2021
@markov00
Copy link
Member

markov00 commented Sep 6, 2021

@stratoula can you please test if this is still a problem and in case open a performance issue in elastic-charts?

@stratoula
Copy link
Contributor

@markov00 I have created a dashboard from an index with many docs (4,476,000 hits). I have two visualizations with many series, one is a Lens visualization and the other is a TSVB. There is a lag on the cursor sync as you can see on the gif below but not on the legend update:
New-Dashboard-

@stratoula stratoula added this to Bugs/Enhancements in Legacy visualizations Sep 28, 2021
@markov00
Copy link
Member

markov00 commented Oct 4, 2021

@markov00 I have created a dashboard from an index with many docs (4,476,000 hits). I have two visualizations with many series, one is a Lens visualization and the other is a TSVB. There is a lag on the cursor sync as you can see on the gif below but not on the legend update

@stratoula there is no/low lag in the current interactive chart, that is actually a good thing.
For the other chart, could you please check and try changing the Settings.pointerUpdateDebounce to a value in ms near to 0? Please change that value on the chart that is sending sending the cursor events

@stratoula
Copy link
Contributor

stratoula commented Oct 7, 2021

@markov00 I set pointerUpdateDebounce={0} to the first chart (TSVB) and I think I can see an improvement. Below two videos with and without the setting:

With

my-dash-Elasti-1

Without

my-dash-Elasti-2

Also something else I noticed. The above charts are broken doen by 30 values. If I increase the second chart (Lens) to 50 and hover over it in the Lens editor, the tooltips seem to work fine but when they are embedded in the dashboard they are not so performant. Check the video below:
my-dash-Elasti-3

Same applies for the TSVB viz.

@kibanamachine kibanamachine added this to Long-term goals in Lens Oct 7, 2021
@flash1293 flash1293 removed bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Oct 7, 2021
@flash1293 flash1293 moved this from Bugs to Long-term goals in Legacy visualizations Oct 7, 2021
@flash1293
Copy link
Contributor

Also something else I noticed. The above charts are broken doen by 30 values. If I increase the second chart (Lens) to 50 and hover over it in the Lens editor, the tooltips seem to work fine but when they are embedded in the dashboard they are not so performant. Check the video below:
Same applies for the TSVB viz.

It seems like there is a scroll bar flickering, maybe that's causing it.

@flash1293 flash1293 moved this from Long-term goals to 8.1 in Lens Oct 7, 2021
@flash1293 flash1293 moved this from Long-term goals to 8.1 in Legacy visualizations Oct 27, 2021
@flash1293 flash1293 removed this from 8.1 in Lens Oct 27, 2021
@stratoula stratoula moved this from 8.1 to 8.2 in Legacy visualizations Feb 7, 2022
@flash1293 flash1293 moved this from 8.2 to Long-term goals in Legacy visualizations Apr 11, 2022
@flash1293 flash1293 moved this from Long-term goals to 8.5 in Legacy visualizations Aug 9, 2022
@flash1293 flash1293 moved this from 8.5 to 8.6 in Legacy visualizations Sep 29, 2022
@flash1293 flash1293 self-assigned this Oct 12, 2022
Legacy visualizations automation moved this from 8.6 to Done Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens Feature:TSVB TSVB (Time Series Visual Builder) performance Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

7 participants