Skip to content

Speed up Models browser#978

Merged
jecisc merged 2 commits into
developmentfrom
speedup-model-browser
Jan 9, 2024
Merged

Speed up Models browser#978
jecisc merged 2 commits into
developmentfrom
speedup-model-browser

Conversation

@jecisc
Copy link
Copy Markdown
Member

@jecisc jecisc commented Jan 9, 2024

The model browser can be really slow if we have big models in the image. This is due to the fact that propagating is filtering the stubs. But this means that #canPropagate it always filtering the stubs without using any cache (it would be hard to cache this).

I propose to not filter in #canPropagate because we should almost never have a model without non stub entities and this will make the tools way smoother. We'll filter only on the propagate.

Fixes #976

jecisc added 2 commits January 9, 2024 14:45
The model browser can be really slow if we have big models in the image. This is due to the fact that propagating is filtering the stubs. But this means that #canPropagate it always filtering the stubs without using any cache (it would be hard to cache this). 

I propose to not filter in #canPropagate because we should almost never have a model without non stub entities and this will make the tools way smoother. We'll filter only on the propagate.

Fixes #976
@jecisc jecisc merged commit eb76b38 into development Jan 9, 2024
@ClotildeToullec ClotildeToullec deleted the speedup-model-browser branch January 26, 2024 16:06
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.

Selecting a model in the model browser is slow

1 participant