-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Description
Rendering a collection of PolygonLayers spends 1033ms in _getLinkStatus.
These are very simple polygons: every polygon is a closed triangle. This is not a large dataset. There are 20 layers with 1208 total triangles (polygons).
Here's the trace from Chrome profiling: polygon-layer-trace-deck.gl-raster-20260116T121703.json.gz
I've seen #7154 and #9822 but neither seem related to my issue.
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CARTO
- ArcGIS
Expected Behavior
This seems like not expected behavior to spend so long in shader linking.
Steps to Reproduce
Either
-
look at the deployed example
-
or build yourself:
git clone https://github.com/developmentseed/deck.gl-raster cd deck.gl-raster git checkout b39f732e781bb0923cf9d10a8cb1c763998b6a56 pnpm install pnpm build cd examples/land-cover pnpm dev
Then click the "Show Debug Overlay" checkbox in the top left.
That's specifically on this branch that turns off rendering of my custom RasterLayer (via a Mesh layer) when the debug is turned on. This is to isolate that it's only the PolygonLayer that is leading to this slowdown.
Environment
- Framework version: deck.gl 9.2.6
- Browser: Chrome 143.0.7499.193
- OS: MacOS Tahoe 26.2 (25C56)
Logs
No response