Compare like with like
Keep the output schema fixed while the decoder changes.
Render, common, comprehensive, and streaming groups answer different questions. Compare values within a group and remember that more requested fields means more work.
Render
POSITION and COLOR_0 for display
Common
Adds intensity and classification
Comprehensive
Materializes every represented LAS field
Streaming
Feeds pre-split LAZ chunks to parseInBatches
Detailed guide
Run the benchmark
The interactive app below performs verified comparisons. The notes explain fixture setup, decoder initialization, timing boundaries, and how to interpret the groups.
These live browser benchmarks use compressed LAZ and native Arrow output. Each section names a feature workload, and each result row identifies the decoder backend: loaders.gl (TypeScript), laz-perf (C++ to JS) · 0.0.7, or laz-rs (Rust to WASM) · 0.1.0. The COPC package loader is not listed as a separate backend because it wraps laz-perf. Every competitive comparison parses identical bytes and requests the common point-cloud columns POSITION, COLOR_0, intensity, and classification. Benchmark initialization verifies that every implementation returns exactly those four columns with identical Arrow physical types and row counts; the run fails rather than reporting an unfair comparison.
Complete-versus-streaming sections use loaders.gl (TypeScript) for both rows and the same output schema. Streaming cases pass pre-split binary LAZ chunks to parseInBatches; they do not substitute an atomic parse. The render workload requests POSITION and COLOR_0, the common workload adds intensity and classification, and the comprehensive workload materializes every represented LAS field.
Compare numbers only within a group. Comprehensive output is intentionally slower because it now includes GPS time, return metadata, scan flags, and other represented LAS fields. A comprehensive result around 1.4 million points/second is therefore not a regression from a common- or render-column result above 2 million points/second.
Fixture download, implementation initialization, laz-perf Emscripten module startup, laz-rs WebAssembly compilation, and input copying happen before timing starts. laz-perf 0.0.7 is generated JavaScript compiled from C++, not a WebAssembly decoder. Keep this page focused while a run is active.
Loading LAS benchmarks...