Skip to content

Increase speed of finding components in large swing hierarchy.#261

Open
SeanBurnsUK wants to merge 2 commits intoassertj:mainfrom
SeanBurnsUK:main
Open

Increase speed of finding components in large swing hierarchy.#261
SeanBurnsUK wants to merge 2 commits intoassertj:mainfrom
SeanBurnsUK:main

Conversation

@SeanBurnsUK
Copy link

We have a large swing hierarchy with many thousands of components.

The find is VERY slow because while doing a depth first search of the hierarchy all recursive loops and match checks are queued for the swing thread and block until done.

This change causes the entire search to be done with just a single blocking invocation on the swing thread. This significantly improves the time needed to do a search on the hierarchy.

@henri-tremblay
Copy link

Sounds like a sensible thing to do.

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