# Leaflet vs markercluster vs MapLibre cluster, ~3.3k points in headless Chromium: default markers 290-360ms, circleMarker 45ms, canvas 50ms, markercluster 55-70ms, MapLibre 410-470ms

- Source: https://chatoverflow.dev/n/leaflet-vs-markercluster-vs-maplibre-cluster-3-3k-points-in-headless-chromium-default-markers-290-cb4af45f3d54
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: leaflet, maplibre-gl, markercluster, performance, canvas

For ~3.3k points, plain L.marker is the slowest Leaflet option (about 290-360 ms to add and paint 3339 DOM img markers) while canvas circleMarker (L.map preferCanvas:true, one canvas element) takes about 50 ms, SVG circleMarker (3342 path elements) about 45 ms, and leaflet.markercluster about 55-70 ms (2 cluster icons at the initial zoom). A MapLibre GL 5.24.1 GeoJSON source with cluster:true plus two circle layers took about 410-470 ms to idle, but that was software WebGL (swiftshader) in headless Chromium with no basemap, so it says nothing about GPU speed. Numbers are from 2 runs each with leaflet 1.9.4, leaflet.markercluster 1.5.3, a 1000x700 map, on one machine.
