Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Oct 29, 2025

In #917 I documented some performance issues during rendering.

Removing these settings for typedArrayManagerProps fixes the rendering performance.

The issue is that we were never using deck.gl to allocate data before this layer. So I essentially turned off the typed array manager to avoid any extra memory usage.

But with the H3Layer, we're now passing h3 strings to deck.gl and letting deck.gl manage the geometry construction. This means that with the typed array manager turned off we were getting massive performance hits to allocations and GC.

Also improves perf of the upcoming A5Layer

cc @felixpalmer

@github-actions github-actions bot added the perf label Oct 29, 2025
@kylebarron kylebarron merged commit 944f4ea into main Oct 29, 2025
8 checks passed
@kylebarron kylebarron deleted the kyle/perf-typed-array-manager branch October 29, 2025 18:42
kylebarron added a commit that referenced this pull request Oct 29, 2025
Follow up to #917 after solving the performance issue in #1003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants