mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.2k stars 2.22k forks source link

performance regression for filter evaluation #7322

Open mollymerp opened 6 years ago

mollymerp commented 6 years ago

there has been a regression in filter evaluation performance since https://github.com/mapbox/mapbox-gl-js/pull/5665 – we accepted an initial performance hit (~0.2ms -> ~0.6ms) as part of eliminating unsafe-eval requirement, but there seems to have been further degradation since that change.

image

BrunoSalerno commented 5 years ago

I recently upgraded Mapbox GL JS from v. 0.42.2 to v. 0.51 in a project I'm working on, and I also see a significant performance regression when using filters.