LFC Foundry tester

lfc-pack against Parquet

Races lfc-pack 1.0 (its new table format, LFCP format 2) against two Parquet libraries on three public data sets it was never tuned on: file size, save time and read time, on this device. Measure only; nothing is sent anywhere.

Reading this device...
The line above only says what this device reports. The page downloads about 5 MB of data and the two Parquet libraries.
Ready. Close other tabs and keep the screen on, then tap Quick run.
-races lfc-pack won
-lfc-pack file size, share of Parquet's (typical)
-its closest race
-its best race

Shorter is better. The grey line is the better of the two Parquet libraries in each race (for size, the smaller Parquet file).

lfc-packbest Parquet library = 1
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).

Results as text