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.
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.
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.