[Bug] Poor performance when enabling pickable on Firefox with DeckGL Version 9.2.2
Description
After upgraded from version 9.1.8 to 9.2.2, I noticed a huge performance impact when using pickable layers on Firefox on both Windows 11 and MacOS 26.
There was no performance issues with the same code in 9.1.8 and there are no performance issues with using Edge/Chrome in 9.2.2.
Preview of what performance is like with Firefox: https://github.com/user-attachments/assets/69e0d9f5-a879-4921-adde-b7f5608d8a77
Flavors
- [ ] Script tag
- [x] React
- [ ] Python/Jupyter notebook
- [ ] MapboxOverlay
- [ ] GoogleMapsOverlay
- [ ] CARTO
- [ ] ArcGIS
Expected Behavior
Pickable not to cause performance issues on Firefox
Steps to Reproduce
- Navigate to the GeoJson Highways sample using Firefox on Windows: https://deck.gl/examples/geojson-layer-paths
- See instance performance impact
- Checkout sample code and run with pickable disabled: https://github.com/visgl/deck.gl/tree/9.2-release/examples/website/highway
- No more performance issues
Environment
- Framework version: 9.2.2
- Browser: Firefox
- OS: Windows 11 / MacOS 26.0.1
Same as #9822
I'm also seeing this in Chrome. I've downgraded to 9.1.8 which has resolved the issue.
Hey lads, I'm similarly experiencing the same issue on both v9.1.13 and v9.2.5 - downgrading seemed to make no tangible difference in my case however. The issue is persistent in Edge and I'm unable to test with any other browsers at the moment. I'm using the MapboxOverlay approach, trying to integrate Deck with Mapbox in a React app. Extremely similar behaviour to OP's, in that there is a significant loss of FPS when attempting to pan the base-map as a result of enabling pickable on Deck layers. Leaving a comment to keep the thread open.
EDIT: I've downgraded to Deck v9.1.8 and (Luma v9.1.10) based on Will's comment and can confirm that the issues is no longer present. Average FPS values increased from 10-20 to 55-60.
v9.2.5 is expected to provide much better performance over previous 9.2 releases.
v9.2.5 is expected to provide much better performance over previous 9.2 releases.
Thanks for the update, it seems 9.2.5 has resolved the performance issues I was experiencing 👍