Skip to main content

Benchmarks

In-repository harnesses

ScriptWhat it measures
npm run verify:pan-zoomPlaywright pan/zoom on the Vite bench bundle
npm run test:geojson-workerWorker integration under Playwright
npm run bench:pan-zoomLocal preview of the bench app (vite preview)

How to read results

  • Throughput and frame times are machine- and GPU-dependent.
  • Use benchmarks as regression detectors on consistent hardware (CI runners or a dedicated bench box).
  • Compare branch vs main rather than absolute marketing numbers.

Node unit tests

npm test runs deterministic tests for FeatureStore, GeoJSON chunk builder, text layout, MSDF JSON parsing, and declutter logic — useful for CPU-side correctness, not GPU frame pacing.

Future work

  • Scripted cold-start and warm pan sessions with trace capture.
  • Optional WebGPU timestamp queries where supported.