-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:TSVBTSVB (Time Series Visual Builder)TSVB (Time Series Visual Builder)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//performance
Description
This is the last and most important piece of improving TSVB performance in a dashboard. I have been profiling a dashboard that uses 46 panels of TSVB using the metricbeat-* and filebeat-* index patterns, but this dashboard I'm testing is totally empty- I have no matching data, so all the visualizations are empty. I've been able to optimize other parts of the request to return in 2-3 seconds, down from 8-10 seconds before, but the schema validation performance is our biggest bottleneck.
As you can see in this screenshot, the schema validation code is the slowest part of loading the dashboard:
I don't have a solution to this issue yet, but brainstorming some possibilities:
- The @elastic/kibana-core team might improve the performance of schema validation overall
- We could simplify the TSVB schema
- Maybe there is a way to improve performance by batching requests together
cc @alexwizp
Metadata
Metadata
Assignees
Labels
Feature:TSVBTSVB (Time Series Visual Builder)TSVB (Time Series Visual Builder)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//performance
