Skip to content

perf(ui): reuse existing instances when filtering applications - #6043

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:perf/filter-existing-dashboard-instances
Dec 1, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:perf/filter-existing-dashboard-instances

Conversation

@Aminark

@Aminark Aminark commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Searching the application list used to rebuild an Application for each service and an Instance for every match. Their constructors create Axios clients and install interceptors. The view then immediately flattened those new objects to get the instance list it needed for grouping.

Filter the instances already present in the store. In a local render with 100 applications and three instances per application, one search matching 20 applications created 160 Axios clients before this change and zero afterwards. The existing search test also checks that typing a matching query keeps the application visible without constructing a client.

@Aminark
Aminark requested a review from a team as a code owner November 30, 2026 15:44
@SteKoe
SteKoe merged commit b74de5f into codecentric:master Dec 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants