-
Notifications
You must be signed in to change notification settings - Fork 181
Performance issue when using multiple clusters #525
Copy link
Copy link
Open
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Activity
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I have the use case to cluster markers by a property (layer) - resulting in having multiple clusters.
Using the sample app - with
NonHierarchicalViewBasedAlgorithm(#380) - adding 10 clusters with each 400 markers - this results already in skipped frames in a release build on a physical device.Any ideas to improve performance here?
Here is the sample: main...cwsiteplan:android-maps-compose:bug/performance-clustering
It gets worse when i try to group the markers not only by one property but two.
My use case is that i have different types of markers which are assigned to layers. I need to group first by layer and then by type - resulting in potentially 20-30 clusters or so. This results in a lot of UI lag.
Sample here: main...cwsiteplan:android-maps-compose:bug/performance-clustering-types