elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.24k forks source link

[Security Solution] Coverage Overview page: optimize rendering performance #164853

Open banderror opened 1 year ago

banderror commented 1 year ago

Epic: https://github.com/elastic/security-team/issues/2905

Summary

Changing filters on the MITRE ATT&CK® Coverage page is quite slow and unresponsive.

Screenshot 2023-08-25 at 16 08 30

For example, when you click on Expand cells, it takes ~2.7 seconds to re-render and paint the grid. The UI feels "frozen" during this time:

Screenshot 2023-08-25 at 16 34 53

A similar situation is with changing the Installed rule status or Installed rule type filters, although it could be a bit faster in terms of rendering compared to expanding/collapsing cells.

The contribution of the internal/detection_engine/rules/_coverage_overview endpoint here is anything from 50ms to 250ms locally given 869 installed prebuilt rules.

elasticmachine commented 1 year ago

Pinging @elastic/security-detections-response (Team:Detections and Resp)

elasticmachine commented 1 year ago

Pinging @elastic/security-solution (Team: SecuritySolution)