maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.12k stars 614 forks source link

Replace canvas with @napi-rs/canvas #1296

Open beeing opened 4 days ago

beeing commented 4 days ago

A suggestion for performance improvements.

Reviewing at the benchmark in https://www.npmjs.com/package/@napi-rs/canvas, this will be quick win for faster canvas replacement.

Thanks for your consideration.

acalcutt commented 21 hours ago

If someone wanted to make a PR it would be great to test the difference. Is the platform support the same (macos/linux/windows)?