[Security Solution] Large number of related integrations can impact performance on rule creation/edit form #183607
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Rule Creation
Security Solution Detection Rule Creation workflow
Feature:Rule Edit
Security Solution Detection Rule Editing workflow
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
performance
Team:Detection Engine
Security Solution Detection Engine Area
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
Summary
Describe the bug:
Large number of related integrations can cause significant performance impact on rule creation/edit form.
Steps to reproduce:
Potentially, even longer, if more added.
Current behavior:
Each added item to related integrations contribute to the total time of form re-rendering.
Component re-renders on any change in form. So, even typing query, that does not effect state of related integrations, causes this component to re-render.
Each added item, adds approx. 1ms in rendering time. For 8 items it takes 8ms, out of 30ms of total form re-render time.
Expected behavior:
Component should not re-render when thee are no changes in form that affect it.
Similar issue was discovered for required fields and handled in relevant PR
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: