Share of the best Parquet library, by race
Shorter is better. The grey line is the better of the two Parquet libraries in each race (for size, the smaller Parquet file).
What is measured
Three public data sets the lfc-pack code was never tuned on: SEC financial statement numbers (200,000 rows, 10 columns), UCI online retail orders (100,000 rows, 8 columns) and SBA loan records (25,000 rows, 116 columns). Each arrives as a Parquet file written by pyarrow 26.0.1 at zstd level 3, and is read once with hyparquet into plain JavaScript columns before the races start (not timed). Date columns go to lfc-pack as numbers (milliseconds), the way Parquet stores them, so every lfc-pack file here is the new table format (format 2, since lfc-pack 1.0.0). File size: lfc-pack's file, saved here from those columns, against the pyarrow file and the file parquet-wasm writes (zstd); the smaller Parquet file is the line. Save: from the same JavaScript columns to file bytes: lfc-pack packColumnsParallel against parquet-wasm (Arrow tableFromArrays, the Arrow stream, then writeParquet with zstd). Read as columns: file bytes to one array per column: lfc-pack unpackColumnsParallel against hyparquet parquetRead (column chunks) and parquet-wasm readParquet plus Arrow toArray. Read as rows: file bytes to plain row objects: lfc-pack unpackRows against hyparquet parquetReadObjects (parquet-wasm has no plain-row read, so it is not in this race). Every reader reads the file its own library makes (lfc-pack its own file, the Parquet readers the pyarrow file). Libraries take turns; each race is the median of its rounds. lfc-pack is loaded from this site; hyparquet 1.33.2, hyparquet-compressors 1.1.3, parquet-wasm 0.9.0 and apache-arrow 21.2.0 from jsDelivr. DuckDB-WASM is not in this tester. Times include each library's own helper threads where it has them (lfc-pack's save and column read use helper workers; the Parquet libraries here run on one thread).