Skip to content

Speed up writes of wide sparse structs - #12343

Open
robert3005 wants to merge 5 commits into
developfrom
rk/speed-up-sparse-nested-writes
Open

robert3005 wants to merge 5 commits into
developfrom
rk/speed-up-sparse-nested-writes

Conversation

@robert3005

@robert3005 robert3005 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Wide sparse structs send absent batches through every nested field and make all writer tasks contend on the same ordered set. The writer now combines consecutive absent struct batches before splitting them into fields, and updates only neighboring sequence positions to preserve deterministic segment order. Merged runs use the same field normalization as individual batches.

On the Graviton runner, hot writes of sparse-wide-nested-runs fell from 256.6 ms to 34.0 ms, versus 55.4 ms for Parquet. All five sparse-wide fixtures were byte-identical to the #11160 writer. Benchmark results

Follows #11160.

OpenAI Codex assisted with this change.

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added changelog/performance A performance improvement action/bench-compress Run only the compression benchmark on this PR labels Nov 29, 2026
@github-actions github-actions Bot removed the action/bench-compress Run only the compression benchmark on this PR label Nov 29, 2026
Signed-off-by: Robert Kruszewski <github@robertk.io>

@lwwmanning lwwmanning left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted by Claude Opus 5.5 on Will's behalf.

I reviewed 1d7908f and found no problems. I read the code but did not run the tests.

The new SequenceId list looks right. Every path takes its locks from the earlier position to the later one, so I see no deadlock. When the head leaves, it clears the next position and takes its waker under that position's lock, so a wake cannot be lost. Descend keeps the parent's position, and advance inserts the sibling after it, so the order matches the IDs.

The null-run merge is also safe. It only merges consecutive absent batches, and it writes the run under the last of their IDs, so no other batch falls inside the run. The struct reader masks children with the parent validity, so readers cannot see the replaced hidden values.

One optional gap: no test checks that consecutive absent batches merge into one write, or that a run stops at MAX_NULL_RUN_ROWS. The round-trip test passes with or without the merge.

@robert3005

robert3005 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor Author

At 726bb1db, the dedicated Graviton benchmark measured 34.0 ms hot and 34.1 ms cold to write sparse-wide-nested-runs, down from 256.6 ms and 259.9 ms on #11160. Parquet Zstd 3 took 55.4 ms and 55.5 ms. The earlier PR revision took 34.4 ms hot. Target hot decode was 13.7 ms versus 15.9 ms on #11160. CI still measured slower cold reads on flat sparse runs (12.5 → 15.5 ms) and the 100-column, 50-chunk table (1.80 → 2.50 ms). Current CI results

All five sparse-wide files were byte-identical to the writer containing #11160. I also checked the two 100,000-row review fixtures with 16 nullable float fields. The singleton fixture returned from 11,000 to 5,116 bytes and the four-batch fixture from 9,496 to 5,020 bytes, both byte-identical to the base. All seven files round-tripped to the source Arrow data. Both new regression tests failed on the previous PR head and passed on this commit.

Earlier paired EC2 measurements

I compared 59c2870bd1 and 1d7908f00f on the same Graviton4 c8gd.8xlarge, pinned to CPUs 0–15. For sparse-wide-nested-runs, the hot Vortex write fell from 321.1 ms to 46.3 ms, versus 66.9 ms for Parquet Zstd 3. Coalescing null struct batches alone took 56.8 ms. Changing sequence ordering alone took 74.7 ms.

Hot encode, ms Vortex base Vortex PR Parquet
Sparse wide, nested runs 321.1 46.3 66.9
Sparse wide, nested child nulls 323.4 47.0 65.7
Sparse wide, shuffled lists 390.7 146.0 188.6
Sparse wide, flat runs 105.7 86.7 47.3
Wide table, 100 columns × 50 input chunks × 1,000 rows 8.36 8.03 3.53

The target’s cold write fell from 319.5 to 47.5 ms. Hot reads took 18.7 ms on the base and 18.3 ms on the PR. Both wrote 1,176,956 bytes, compared with 1,540,074 bytes for Parquet. The two local writes were also byte-identical. Every Arrow field and validity mask matched the source in full 100,000-row round trips of the nested, nested-child-null, flat and shuffled-list fixtures.

The base CPU profile spent 23.9% of samples advancing sequence positions and 25.4% dropping them. Those inclusive shares fell to 0.7% and 1.3% on the PR.

I used the repository’s compress-bench --datasets '^sparse-wide-nested-runs$' --formats parquet,vortex --threads 16 -i 7, with native release builds and the same allocator and layout settings. The target used eight fresh processes per revision, alternating which revision ran first. Each table entry is the median of per-process hot medians (iterations 2–7). The controls used three process pairs each and the isolated changes used four.

The repository’s Graviton run measured 256.6 → 34.4 ms hot and 259.9 → 35.5 ms cold on the target. Parquet took 55.0 and 55.2 ms. Inspecting the Vortex file confirmed that all 300 integer leaves use sparse encoding with sequence indices and bit-packed values. The 100 outer validity masks use run-end encoding, and all 300 inner masks are constant. Earlier CI run

The CI read timings deserve a separate look. Target hot decode rose 15.87 → 16.71 ms in CI and fell 18.69 → 18.33 ms in the eight paired EC2 runs. On the 100-column, 50-chunk table, CI cold decode rose 1.80 → 2.49 ms. The three paired EC2 runs measured 2.14 → 2.12 ms, and the earlier PR also measured 2.42 ms on its head. Flat sparse runs showed a cold-read increase in both CI (12.51 → 15.61 ms) and the three EC2 pairs (14.31 → 15.91 ms). Earlier PR benchmark

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Polar Signals Profiling Results

Latest Run

Status Commit Job Attempt Link
🟢 Done 726bb1d compress-bench 1 Explore Profiling Data
Previous Runs (1)
Status Commit Job Attempt Link
🟢 Done 13f5e8f compress-bench 1 Explore Profiling Data

Powered by Polar Signals Cloud

@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Benchmarks: Compression 📖

Commits: PR 726bb1db vs base fbf3f329


vortex / vortex-file-compressed / ns (0.870x ✅, 6↓ 0↑)
name hot ns (PR / base / %diff) cold ns (PR / base / %diff) hot/cold (PR / base / %diff)
compress time/arade 465778214 / 470794582 / -1.1% 462892420 / 471694734 / -1.9% 1.01 / 1.00 / +0.8%
compress time/bimbo 2199740094 / 2346958124 / -6.3% 2189586108 / 2340627903 / -6.5% 1.00 / 1.00 / +0.2%
compress time/cmsprovider 1039507364 / 1047705288 / -0.8% 1016950342 / 1033922785 / -1.6% 1.02 / 1.01 / +0.9%
compress time/euro2016 226307514 / 221203226 / +2.3% 225830255 / 221250241 / +2.1% 1.00 / 1.00 / +0.2%
compress time/food 199087314 / 201928927 / -1.4% 201132921 / 204344073 / -1.6% 0.99 / 0.99 / +0.2%
compress time/hashtags 371160755 / 363122946 / +2.2% 364760025 / 362012424 / +0.8% 1.02 / 1.00 / +1.4%
compress time/sparse-wide-flat-runs 69652620 / 79615240 / -12.5% 🟢 70273185 / 82222970 / -14.5% 🟢 0.99 / 0.97 / +2.4%
compress time/sparse-wide-lists-runs 89621468 / 271727884 / -67.0% 🟢 89797132 / 279102694 / -67.8% 🟢 1.00 / 0.97 / +2.5%
compress time/sparse-wide-lists-shuffled 110642660 / 305017053 / -63.7% 🟢 111188705 / 310024346 / -64.1% 🟢 1.00 / 0.98 / +1.1%
compress time/sparse-wide-nested-child-nulls 34556768 / 257115524 / -86.6% 🟢 35336369 / 265077613 / -86.7% 🟢 0.98 / 0.97 / +0.8%
compress time/sparse-wide-nested-runs 34164966 / 256624490 / -86.7% 🟢 35242615 / 259862336 / -86.4% 🟢 0.97 / 0.99 / -1.8%
compress time/statpopgen 446924240 / 448379626 / -0.3% 447669693 / 453857664 / -1.4% 1.00 / 0.99 / +1.1%
compress time/taxi 190179487 / 196997990 / -3.5% 191276425 / 197860195 / -3.3% 0.99 / 1.00 / -0.1%
compress time/tpc-h l_comment canonical 108810394 / 108300364 / +0.5% 112578697 / 110762537 / +1.6% 0.97 / 0.98 / -1.1%
compress time/tpc-h l_comment chunked 108343468 / 108352848 / -0.0% 112362928 / 110845265 / +1.4% 0.96 / 0.98 / -1.4%
compress time/tpc-h sf1 lineitem 351768842 / 357105808 / -1.5% 349391054 / 354178093 / -1.4% 1.01 / 1.01 / -0.1%
compress time/tpc-h sf1 orders 80633710 / 81373706 / -0.9% 81145176 / 82241045 / -1.3% 0.99 / 0.99 / +0.4%
compress time/tpc-h sf1 partsupp 60573680 / 60792888 / -0.4% 61428298 / 62521616 / -1.7% 0.99 / 0.97 / +1.4%
compress time/wide table cols=100 chunks=1 rows=1000 5647665 / 5987670 / -5.7% 8865022 / 7935712 / +11.7% 🔴 0.64 / 0.75 / -15.6%
compress time/wide table cols=100 chunks=50 rows=1000 5484738 / 5922564 / -7.4% 7964522 / 7830184 / +1.7% 0.69 / 0.76 / -9.0%
compress time/wide table cols=1000 chunks=1 rows=1000 54838334 / 57725656 / -5.0% 57433629 / 60545826 / -5.1% 0.95 / 0.95 / +0.1%
compress time/wide table cols=1000 chunks=50 rows=1000 55227678 / 58831740 / -6.1% 56818209 / 60103659 / -5.5% 0.97 / 0.98 / -0.7%
compress time/wide table cols=10000 chunks=1 rows=1000 933355778 / 939516237 / -0.7% 962172459 / 960731991 / +0.1% 0.97 / 0.98 / -0.8%
compress time/wide table cols=10000 chunks=50 rows=1000 928522441 / 943257484 / -1.6% 952843607 / 972104734 / -2.0% 0.97 / 0.97 / +0.4%
decompress time/arade 12487474 / 12374093 / +0.9% 15086022 / 12980642 / +16.2% 🔴 0.83 / 0.95 / -13.2%
decompress time/bimbo 69085746 / 69165028 / -0.1% 73997910 / 72807934 / +1.6% 0.93 / 0.95 / -1.7%
decompress time/cmsprovider 39229698 / 39139544 / +0.2% 41170865 / 43166847 / -4.6% 0.95 / 0.91 / +5.1%
decompress time/euro2016 11588399 / 11805778 / -1.8% 12696667 / 12112539 / +4.8% 0.91 / 0.97 / -6.4%
decompress time/food 4063055 / 3842162 / +5.7% 5555348 / 4731613 / +17.4% 🔴 0.73 / 0.81 / -9.9%
decompress time/hashtags 39900944 / 39766476 / +0.3% 41427826 / 40178121 / +3.1% 0.96 / 0.99 / -2.7%
decompress time/sparse-wide-flat-runs 11915511 / 12068996 / -1.3% 13351014 / 12514103 / +6.7% 0.89 / 0.96 / -7.5%
decompress time/sparse-wide-lists-runs 29910122 / 30151927 / -0.8% 32779427 / 30674308 / +6.9% 0.91 / 0.98 / -7.2%
decompress time/sparse-wide-lists-shuffled 38584250 / 38531922 / +0.1% 40003239 / 39418043 / +1.5% 0.96 / 0.98 / -1.3%
decompress time/sparse-wide-nested-child-nulls 16021326 / 18318438 / -12.5% 🟢 16906420 / 18438878 / -8.3% 0.95 / 0.99 / -4.6%
decompress time/sparse-wide-nested-runs 16562058 / 15869273 / +4.4% 17528323 / 16703671 / +4.9% 0.94 / 0.95 / -0.5%
decompress time/statpopgen 848590080 / 847842762 / +0.1% 850904871 / 850456283 / +0.1% 1.00 / 1.00 / +0.0%
decompress time/taxi 10223794 / 10110202 / +1.1% 13420400 / 11733709 / +14.4% 🔴 0.76 / 0.86 / -11.6%
decompress time/tpc-h l_comment canonical 4386722 / 4389251 / -0.1% 5545686 / 4659924 / +19.0% 🔴 0.79 / 0.94 / -16.0%
decompress time/tpc-h l_comment chunked 4463420 / 4405318 / +1.3% 5363274 / 4839447 / +10.8% 🔴 0.83 / 0.91 / -8.6%
decompress time/tpc-h sf1 lineitem 15225656 / 15090708 / +0.9% 17529266 / 15530330 / +12.9% 🔴 0.87 / 0.97 / -10.6%
decompress time/tpc-h sf1 orders 3789745 / 3822260 / -0.9% 5004519 / 4840721 / +3.4% 0.76 / 0.79 / -4.1%
decompress time/tpc-h sf1 partsupp 3124770 / 3154188 / -0.9% 4632826 / 4006312 / +15.6% 🔴 0.67 / 0.79 / -14.3%
decompress time/wide table cols=100 chunks=1 rows=1000 1669042 / 1679951 / -0.6% 2365221 / 1812555 / +30.5% 🔴 0.71 / 0.93 / -23.9%
decompress time/wide table cols=100 chunks=50 rows=1000 1660440 / 1672140 / -0.7% 2325426 / 1801052 / +29.1% 🔴 0.71 / 0.93 / -23.1%
decompress time/wide table cols=1000 chunks=1 rows=1000 15139556 / 14973662 / +1.1% 16232304 / 15563812 / +4.3% 0.93 / 0.96 / -3.1%
decompress time/wide table cols=1000 chunks=50 rows=1000 15204514 / 15145166 / +0.4% 16354218 / 15688461 / +4.2% 0.93 / 0.97 / -3.7%
decompress time/wide table cols=10000 chunks=1 rows=1000 157835384 / 156251806 / +1.0% 161069522 / 158210901 / +1.8% 0.98 / 0.99 / -0.8%
decompress time/wide table cols=10000 chunks=50 rows=1000 157893050 / 155909762 / +1.3% 161321706 / 157404651 / +2.5% 0.98 / 0.99 / -1.2%
vortex / vortex-file-compressed / bytes (1.000x ➖, 0↓ 0↑)
name bytes (PR / base / %diff)
vortex-file-compressed size/arade 141270156 / 141270156 / +0.0%
vortex-file-compressed size/bimbo 404942424 / 404942424 / +0.0%
vortex-file-compressed size/cmsprovider 413592120 / 413592120 / +0.0%
vortex-file-compressed size/euro2016 132572416 / 132572416 / +0.0%
vortex-file-compressed size/food 37304308 / 37304308 / +0.0%
vortex-file-compressed size/hashtags 154769284 / 154769284 / +0.0%
vortex-file-compressed size/sparse-wide-flat-runs 1613684 / 1613684 / +0.0%
vortex-file-compressed size/sparse-wide-lists-runs 3733572 / 3733572 / +0.0%
vortex-file-compressed size/sparse-wide-lists-shuffled 5556852 / 5556852 / +0.0%
vortex-file-compressed size/sparse-wide-nested-child-nulls 1565900 / 1565900 / +0.0%
vortex-file-compressed size/sparse-wide-nested-runs 1176956 / 1176956 / +0.0%
vortex-file-compressed size/statpopgen 210628032 / 210628032 / +0.0%
vortex-file-compressed size/taxi 47427468 / 47427468 / +0.0%
vortex-file-compressed size/tpc-h l_comment canonical 47283476 / 47283476 / +0.0%
vortex-file-compressed size/tpc-h l_comment chunked 47283476 / 47283476 / +0.0%
vortex-file-compressed size/tpc-h sf1 lineitem 137066928 / 137066928 / +0.0%
vortex-file-compressed size/tpc-h sf1 orders 31640916 / 31640916 / +0.0%
vortex-file-compressed size/tpc-h sf1 partsupp 24527044 / 24527044 / +0.0%
vortex-file-compressed size/wide table cols=100 chunks=1 rows=1000 927412 / 927412 / +0.0%
vortex-file-compressed size/wide table cols=100 chunks=50 rows=1000 927412 / 927412 / +0.0%
vortex-file-compressed size/wide table cols=1000 chunks=1 rows=1000 9257812 / 9257812 / +0.0%
vortex-file-compressed size/wide table cols=1000 chunks=50 rows=1000 9257812 / 9257812 / +0.0%
vortex-file-compressed size/wide table cols=10000 chunks=1 rows=1000 92597812 / 92597812 / +0.0%
vortex-file-compressed size/wide table cols=10000 chunks=50 rows=1000 92597812 / 92597812 / +0.0%
vortex / vortex-compact / bytes (1.000x ➖, 0↓ 0↑)
name bytes (PR / base / %diff)
vortex-compact size/arade 117921080 / 117921080 / +0.0%
vortex-compact size/bimbo 278194460 / 278194460 / +0.0%
vortex-compact size/cmsprovider 285131440 / 285131440 / +0.0%
vortex-compact size/euro2016 99862864 / 99862864 / +0.0%
vortex-compact size/food 23369276 / 23369276 / +0.0%
vortex-compact size/hashtags 116044360 / 116044360 / +0.0%
vortex-compact size/sparse-wide-flat-runs 1492092 / 1492092 / +0.0%
vortex-compact size/sparse-wide-lists-runs 3180900 / 3180900 / +0.0%
vortex-compact size/sparse-wide-lists-shuffled 4510256 / 4510256 / +0.0%
vortex-compact size/sparse-wide-nested-child-nulls 1057064 / 1057064 / +0.0%
vortex-compact size/sparse-wide-nested-runs 1124940 / 1124940 / +0.0%
vortex-compact size/statpopgen 116156800 / 116156800 / +0.0%
vortex-compact size/taxi 34077700 / 34077700 / +0.0%
vortex-compact size/tpc-h l_comment canonical 43326124 / 43326124 / +0.0%
vortex-compact size/tpc-h l_comment chunked 43326124 / 43326124 / +0.0%
vortex-compact size/tpc-h sf1 lineitem 122463592 / 122463592 / +0.0%
vortex-compact size/tpc-h sf1 orders 29188832 / 29188832 / +0.0%
vortex-compact size/tpc-h sf1 partsupp 20935320 / 20935320 / +0.0%
vortex-compact size/wide table cols=100 chunks=1 rows=1000 927412 / 927412 / +0.0%
vortex-compact size/wide table cols=100 chunks=50 rows=1000 927412 / 927412 / +0.0%
vortex-compact size/wide table cols=1000 chunks=1 rows=1000 9257812 / 9257812 / +0.0%
vortex-compact size/wide table cols=1000 chunks=50 rows=1000 9257812 / 9257812 / +0.0%
vortex-compact size/wide table cols=10000 chunks=1 rows=1000 92597812 / 92597812 / +0.0%
vortex-compact size/wide table cols=10000 chunks=50 rows=1000 92597812 / 92597812 / +0.0%
vortex / parquet / ns (0.997x ➖, 0↓ 0↑)
name hot ns (PR / base / %diff) cold ns (PR / base / %diff) hot/cold (PR / base / %diff)
compress time/arade 773388330 / 779641758 / -0.8% 778526175 / 779691534 / -0.1% 0.99 / 1.00 / -0.7%
compress time/bimbo 2689597150 / 2704201040 / -0.5% 2700804271 / 2713918348 / -0.5% 1.00 / 1.00 / -0.1%
compress time/cmsprovider 1690131144 / 1696892112 / -0.4% 1683868590 / 1692184533 / -0.5% 1.00 / 1.00 / +0.1%
compress time/euro2016 975190094 / 976538916 / -0.1% 979021213 / 980613824 / -0.2% 1.00 / 1.00 / +0.0%
compress time/food 424116102 / 425140780 / -0.2% 427345295 / 426506610 / +0.2% 0.99 / 1.00 / -0.4%
compress time/hashtags 458726866 / 460167642 / -0.3% 467430396 / 454015056 / +3.0% 0.98 / 1.01 / -3.2%
compress time/sparse-wide-flat-runs 41077974 / 41290454 / -0.5% 40934045 / 41940792 / -2.4% 1.00 / 0.98 / +1.9%
compress time/sparse-wide-lists-runs 81572984 / 81396704 / +0.2% 81068040 / 82475283 / -1.7% 1.01 / 0.99 / +2.0%
compress time/sparse-wide-lists-shuffled 159556607 / 158979372 / +0.4% 158152980 / 157501117 / +0.4% 1.01 / 1.01 / -0.1%
compress time/sparse-wide-nested-child-nulls 54005170 / 54438110 / -0.8% 53771929 / 55789095 / -3.6% 1.00 / 0.98 / +2.9%
compress time/sparse-wide-nested-runs 55284233 / 55446428 / -0.3% 55834533 / 55866386 / -0.1% 0.99 / 0.99 / -0.2%
compress time/statpopgen 980657025 / 972869917 / +0.8% 984400518 / 978829656 / +0.6% 1.00 / 0.99 / +0.2%
compress time/taxi 272412506 / 273885007 / -0.5% 273894577 / 276077724 / -0.8% 0.99 / 0.99 / +0.3%
compress time/tpc-h l_comment canonical 705010367 / 705352064 / -0.0% 706588153 / 705445972 / +0.2% 1.00 / 1.00 / -0.2%
compress time/tpc-h l_comment chunked 704656234 / 706005270 / -0.2% 707028423 / 708120772 / -0.2% 1.00 / 1.00 / -0.0%
compress time/tpc-h sf1 lineitem 1164567788 / 1168400421 / -0.3% 1177904982 / 1180120376 / -0.2% 0.99 / 0.99 / -0.1%
compress time/tpc-h sf1 orders 328173818 / 329008572 / -0.3% 330369045 / 338090081 / -2.3% 0.99 / 0.97 / +2.1%
compress time/tpc-h sf1 partsupp 308314296 / 309316428 / -0.3% 308335377 / 311872329 / -1.1% 1.00 / 0.99 / +0.8%
compress time/wide table cols=100 chunks=1 rows=1000 3105534 / 3182238 / -2.4% 3609035 / 3739603 / -3.5% 0.86 / 0.85 / +1.1%
compress time/wide table cols=100 chunks=50 rows=1000 3240836 / 3161910 / +2.5% 3651719 / 3913308 / -6.7% 0.89 / 0.81 / +9.8%
compress time/wide table cols=1000 chunks=1 rows=1000 30780914 / 30949448 / -0.5% 31903476 / 31726349 / +0.6% 0.96 / 0.98 / -1.1%
compress time/wide table cols=1000 chunks=50 rows=1000 30755076 / 31207384 / -1.4% 31996726 / 32324666 / -1.0% 0.96 / 0.97 / -0.4%
compress time/wide table cols=10000 chunks=1 rows=1000 318293556 / 320651674 / -0.7% 330102013 / 326605514 / +1.1% 0.96 / 0.98 / -1.8%
compress time/wide table cols=10000 chunks=50 rows=1000 318210320 / 320664426 / -0.8% 322721647 / 325232379 / -0.8% 0.99 / 0.99 / +0.0%
decompress time/arade 54289303 / 54317633 / -0.1% 54474360 / 54534281 / -0.1% 1.00 / 1.00 / +0.1%
decompress time/bimbo 110116142 / 109979402 / +0.1% 109918357 / 109861773 / +0.1% 1.00 / 1.00 / +0.1%
decompress time/cmsprovider 135941982 / 136191030 / -0.2% 135881056 / 136101287 / -0.2% 1.00 / 1.00 / -0.0%
decompress time/euro2016 158422218 / 158602926 / -0.1% 158970265 / 158809122 / +0.1% 1.00 / 1.00 / -0.2%
decompress time/food 28235070 / 28178738 / +0.2% 28296176 / 28262098 / +0.1% 1.00 / 1.00 / +0.1%
decompress time/hashtags 467495816 / 468359586 / -0.2% 467661384 / 469311544 / -0.4% 1.00 / 1.00 / +0.2%
decompress time/sparse-wide-flat-runs 14486674 / 14616640 / -0.9% 15307326 / 15265318 / +0.3% 0.95 / 0.96 / -1.2%
decompress time/sparse-wide-lists-runs 209657470 / 209281486 / +0.2% 210076091 / 209821125 / +0.1% 1.00 / 1.00 / +0.1%
decompress time/sparse-wide-lists-shuffled 260809515 / 260689084 / +0.0% 260987791 / 260930033 / +0.0% 1.00 / 1.00 / +0.0%
decompress time/sparse-wide-nested-child-nulls 36838044 / 37440490 / -1.6% 37204658 / 37916429 / -1.9% 0.99 / 0.99 / +0.3%
decompress time/sparse-wide-nested-runs 37389252 / 37058194 / +0.9% 37678702 / 37438413 / +0.6% 0.99 / 0.99 / +0.2%
decompress time/statpopgen 2256905838 / 2282160425 / -1.1% 2273684454 / 2352261758 / -3.3% 0.99 / 0.97 / +2.3%
decompress time/taxi 68795829 / 68964350 / -0.2% 69089693 / 69373603 / -0.4% 1.00 / 0.99 / +0.2%
decompress time/tpc-h l_comment canonical 35980526 / 36025736 / -0.1% 36090734 / 36122505 / -0.1% 1.00 / 1.00 / -0.0%
decompress time/tpc-h l_comment chunked 35988414 / 36024823 / -0.1% 36116450 / 36137430 / -0.1% 1.00 / 1.00 / -0.0%
decompress time/tpc-h sf1 lineitem 92486106 / 92535445 / -0.1% 92873641 / 93314038 / -0.5% 1.00 / 0.99 / +0.4%
decompress time/tpc-h sf1 orders 95959622 / 95940932 / +0.0% 96158830 / 96157261 / +0.0% 1.00 / 1.00 / +0.0%
decompress time/tpc-h sf1 partsupp 122455406 / 122577822 / -0.1% 123022620 / 122890925 / +0.1% 1.00 / 1.00 / -0.2%
decompress time/wide table cols=100 chunks=1 rows=1000 1525710 / 1516990 / +0.6% 1737359 / 1881901 / -7.7% 0.88 / 0.81 / +8.9%
decompress time/wide table cols=100 chunks=50 rows=1000 1505235 / 1528420 / -1.5% 1736880 / 1772890 / -2.0% 0.87 / 0.86 / +0.5%
decompress time/wide table cols=1000 chunks=1 rows=1000 17254820 / 17483954 / -1.3% 18015528 / 18483887 / -2.5% 0.96 / 0.95 / +1.3%
decompress time/wide table cols=1000 chunks=50 rows=1000 17187597 / 17542858 / -2.0% 17852796 / 18344327 / -2.7% 0.96 / 0.96 / +0.7%
decompress time/wide table cols=10000 chunks=1 rows=1000 183419524 / 183038798 / +0.2% 186197671 / 185051264 / +0.6% 0.99 / 0.99 / -0.4%
decompress time/wide table cols=10000 chunks=50 rows=1000 182127836 / 183561268 / -0.8% 183014438 / 185481884 / -1.3% 1.00 / 0.99 / +0.6%
vortex / parquet / bytes (1.000x ➖, 0↓ 0↑)
name bytes (PR / base / %diff)
parquet size/arade 201352613 / 201352613 / +0.0%
parquet size/bimbo 357925714 / 357925714 / +0.0%
parquet size/cmsprovider 372632076 / 372632076 / +0.0%
parquet size/euro2016 108307710 / 108307710 / +0.0%
parquet size/food 34549509 / 34549509 / +0.0%
parquet size/hashtags 126827229 / 126827229 / +0.0%
parquet size/sparse-wide-flat-runs 1496302 / 1496302 / +0.0%
parquet size/sparse-wide-lists-runs 4521942 / 4521942 / +0.0%
parquet size/sparse-wide-lists-shuffled 5927637 / 5927637 / +0.0%
parquet size/sparse-wide-nested-child-nulls 1417612 / 1417612 / +0.0%
parquet size/sparse-wide-nested-runs 1540074 / 1540074 / +0.0%
parquet size/statpopgen 81649748 / 81649748 / +0.0%
parquet size/taxi 52653711 / 52653711 / +0.0%
parquet size/tpc-h l_comment canonical 51890027 / 51890027 / +0.0%
parquet size/tpc-h l_comment chunked 51890027 / 51890027 / +0.0%
parquet size/tpc-h sf1 lineitem 150053299 / 150053299 / +0.0%
parquet size/tpc-h sf1 orders 36640511 / 36640511 / +0.0%
parquet size/tpc-h sf1 partsupp 28091846 / 28091846 / +0.0%
parquet size/wide table cols=100 chunks=1 rows=1000 968004 / 968004 / +0.0%
parquet size/wide table cols=100 chunks=50 rows=1000 968004 / 968004 / +0.0%
parquet size/wide table cols=1000 chunks=1 rows=1000 9683472 / 9683472 / +0.0%
parquet size/wide table cols=1000 chunks=50 rows=1000 9683472 / 9683472 / +0.0%
parquet size/wide table cols=10000 chunks=1 rows=1000 96902474 / 96902474 / +0.0%
parquet size/wide table cols=10000 chunks=50 rows=1000 96902474 / 96902474 / +0.0%
vortex / parquet-snappy / bytes (1.000x ➖, 0↓ 0↑)
name bytes (PR / base / %diff)
parquet-snappy size/arade 306108835 / 306108835 / +0.0%
parquet-snappy size/bimbo 503948703 / 503948703 / +0.0%
parquet-snappy size/cmsprovider 493686373 / 493686373 / +0.0%
parquet-snappy size/euro2016 166575382 / 166575382 / +0.0%
parquet-snappy size/food 48417994 / 48417994 / +0.0%
parquet-snappy size/hashtags 201092050 / 201092050 / +0.0%
parquet-snappy size/sparse-wide-flat-runs 2029564 / 2029564 / +0.0%
parquet-snappy size/sparse-wide-lists-runs 6065078 / 6065078 / +0.0%
parquet-snappy size/sparse-wide-lists-shuffled 8052734 / 8052734 / +0.0%
parquet-snappy size/sparse-wide-nested-child-nulls 1899339 / 1899339 / +0.0%
parquet-snappy size/sparse-wide-nested-runs 2073336 / 2073336 / +0.0%
parquet-snappy size/statpopgen 123666985 / 123666985 / +0.0%
parquet-snappy size/taxi 72779298 / 72779298 / +0.0%
parquet-snappy size/tpc-h l_comment canonical 77179276 / 77179276 / +0.0%
parquet-snappy size/tpc-h l_comment chunked 77179276 / 77179276 / +0.0%
parquet-snappy size/tpc-h sf1 lineitem 214289870 / 214289870 / +0.0%
parquet-snappy size/tpc-h sf1 orders 56277375 / 56277375 / +0.0%
parquet-snappy size/tpc-h sf1 partsupp 43780866 / 43780866 / +0.0%
parquet-snappy size/wide table cols=100 chunks=1 rows=1000 966704 / 966704 / +0.0%
parquet-snappy size/wide table cols=100 chunks=50 rows=1000 966704 / 966704 / +0.0%
parquet-snappy size/wide table cols=1000 chunks=1 rows=1000 9670472 / 9670472 / +0.0%
parquet-snappy size/wide table cols=1000 chunks=50 rows=1000 9670472 / 9670472 / +0.0%
parquet-snappy size/wide table cols=10000 chunks=1 rows=1000 96772474 / 96772474 / +0.0%
parquet-snappy size/wide table cols=10000 chunks=50 rows=1000 96772474 / 96772474 / +0.0%
vortex / arrow-ipc / ns (0.998x ➖, 1↓ 0↑)
name hot ns (PR / base / %diff) cold ns (PR / base / %diff) hot/cold (PR / base / %diff)
compress time/arade 92826101 / 95277606 / -2.6% 116189935 / 120799802 / -3.8% 0.80 / 0.79 / +1.3%
compress time/bimbo 590927469 / 606566820 / -2.6% 652063386 / 671410834 / -2.9% 0.91 / 0.90 / +0.3%
compress time/cmsprovider 354203387 / 360908090 / -1.9% 405482411 / 413828209 / -2.0% 0.87 / 0.87 / +0.2%
compress time/euro2016 41451734 / 42015212 / -1.3% 56907608 / 58741949 / -3.1% 0.73 / 0.72 / +1.8%
compress time/food 39689266 / 40185836 / -1.2% 52592610 / 54523376 / -3.5% 0.75 / 0.74 / +2.4%
compress time/hashtags 77313754 / 78277354 / -1.2% 104872106 / 107202324 / -2.2% 0.74 / 0.73 / +1.0%
compress time/sparse-wide-flat-runs 28121131 / 28632114 / -1.8% 37386446 / 37609535 / -0.6% 0.75 / 0.76 / -1.2%
compress time/sparse-wide-lists-runs 45169580 / 45563132 / -0.9% 52136361 / 52724257 / -1.1% 0.87 / 0.86 / +0.3%
compress time/sparse-wide-lists-shuffled 44559708 / 45733468 / -2.6% 52032930 / 53002450 / -1.8% 0.86 / 0.86 / -0.8%
compress time/sparse-wide-nested-child-nulls 40756066 / 40952776 / -0.5% 50977966 / 51289259 / -0.6% 0.80 / 0.80 / +0.1%
compress time/sparse-wide-nested-runs 40695838 / 41162561 / -1.1% 50966711 / 51346948 / -0.7% 0.80 / 0.80 / -0.4%
compress time/statpopgen 216094798 / 215793148 / +0.1% 262899394 / 261301839 / +0.6% 0.82 / 0.83 / -0.5%
compress time/taxi 59031339 / 60003430 / -1.6% 75380454 / 76601666 / -1.6% 0.78 / 0.78 / -0.0%
compress time/tpc-h l_comment canonical 22642063 / 22793382 / -0.7% 31114454 / 31005377 / +0.4% 0.73 / 0.74 / -1.0%
compress time/tpc-h l_comment chunked 22613533 / 22596950 / +0.1% 30934060 / 30971404 / -0.1% 0.73 / 0.73 / +0.2%
compress time/tpc-h sf1 lineitem 129883846 / 130194668 / -0.2% 165256096 / 166027269 / -0.5% 0.79 / 0.78 / +0.2%
compress time/tpc-h sf1 orders 24590692 / 24759802 / -0.7% 34447678 / 34412814 / +0.1% 0.71 / 0.72 / -0.8%
compress time/tpc-h sf1 partsupp 13168540 / 13288039 / -0.9% 19168672 / 18923054 / +1.3% 0.69 / 0.70 / -2.2%
compress time/wide table cols=100 chunks=1 rows=1000 214135 / 279066.5 / -23.3% 🟢 1003202 / 749977 / +33.8% 🔴 0.21 / 0.37 / -42.6%
compress time/wide table cols=100 chunks=50 rows=1000 200059.5 / 194892 / +2.7% 939004 / 636272 / +47.6% 🔴 0.21 / 0.31 / -30.4%
compress time/wide table cols=1000 chunks=1 rows=1000 2374380 / 2364832 / +0.4% 3637056 / 3384939 / +7.4% 0.65 / 0.70 / -6.6%
compress time/wide table cols=1000 chunks=50 rows=1000 2254632 / 2242713 / +0.5% 3413416 / 3171417 / +7.6% 0.66 / 0.71 / -6.6%
compress time/wide table cols=10000 chunks=1 rows=1000 24904849 / 24756000 / +0.6% 32030312 / 31519529 / +1.6% 0.78 / 0.79 / -1.0%
compress time/wide table cols=10000 chunks=50 rows=1000 24925936 / 25008664 / -0.3% 31917791 / 31559832 / +1.1% 0.78 / 0.79 / -1.4%
decompress time/arade 202386984 / 192483708 / +5.1% 203167877 / 192757216 / +5.4% 1.00 / 1.00 / -0.2%
decompress time/bimbo 422307090 / 421401982 / +0.2% 424226185 / 424217683 / +0.0% 1.00 / 0.99 / +0.2%
decompress time/cmsprovider 647072772 / 614232242 / +5.3% 648508386 / 614934623 / +5.5% 1.00 / 1.00 / -0.1%
decompress time/euro2016 80862217 / 77909257 / +3.8% 81699784 / 78189252 / +4.5% 0.99 / 1.00 / -0.7%
decompress time/food 63423530 / 60865824 / +4.2% 64065589 / 61094526 / +4.9% 0.99 / 1.00 / -0.6%
decompress time/hashtags 154554790 / 150152541 / +2.9% 155343751 / 150809417 / +3.0% 0.99 / 1.00 / -0.1%
decompress time/sparse-wide-flat-runs 19034828 / 19220470 / -1.0% 20064765 / 23051252 / -13.0% 🟢 0.95 / 0.83 / +13.8%
decompress time/sparse-wide-lists-runs 82281188 / 82059890 / +0.3% 82286270 / 82230345 / +0.1% 1.00 / 1.00 / +0.2%
decompress time/sparse-wide-lists-shuffled 82757246 / 82511624 / +0.3% 82699054 / 82446152 / +0.3% 1.00 / 1.00 / -0.0%
decompress time/sparse-wide-nested-child-nulls 27475900 / 27153748 / +1.2% 28530029 / 27721533 / +2.9% 0.96 / 0.98 / -1.7%
decompress time/sparse-wide-nested-runs 27470288 / 27167851 / +1.1% 28439342 / 29408085 / -3.3% 0.97 / 0.92 / +4.6%
decompress time/statpopgen 454905889 / 444172125 / +2.4% 455565312 / 444909175 / +2.4% 1.00 / 1.00 / +0.0%
decompress time/taxi 49752587 / 48751364 / +2.1% 50640709 / 49053329 / +3.2% 0.98 / 0.99 / -1.1%
decompress time/tpc-h l_comment canonical 38499458 / 36780484 / +4.7% 38860013 / 37411411 / +3.9% 0.99 / 0.98 / +0.8%
decompress time/tpc-h l_comment chunked 38483070 / 36833224 / +4.5% 38885418 / 37294020 / +4.3% 0.99 / 0.99 / +0.2%
decompress time/tpc-h sf1 lineitem 181547932 / 173907916 / +4.4% 181922906 / 174223029 / +4.4% 1.00 / 1.00 / -0.0%
decompress time/tpc-h sf1 orders 37281821 / 35588446 / +4.8% 37405951 / 35698367 / +4.8% 1.00 / 1.00 / -0.0%
decompress time/tpc-h sf1 partsupp 13392547 / 13212394 / +1.4% 13557658 / 13371379 / +1.4% 0.99 / 0.99 / -0.0%
decompress time/wide table cols=100 chunks=1 rows=1000 325698 / 323670 / +0.6% 349349 / 352891 / -1.0% 0.93 / 0.92 / +1.6%
decompress time/wide table cols=100 chunks=50 rows=1000 325002 / 324321 / +0.2% 350935 / 353179 / -0.6% 0.93 / 0.92 / +0.9%
decompress time/wide table cols=1000 chunks=1 rows=1000 3758888 / 3789716 / -0.8% 3852720 / 3879500 / -0.7% 0.98 / 0.98 / -0.1%
decompress time/wide table cols=1000 chunks=50 rows=1000 3497516 / 3776614 / -7.4% 3568529 / 3959274 / -9.9% 0.98 / 0.95 / +2.8%
decompress time/wide table cols=10000 chunks=1 rows=1000 36532232 / 36719133 / -0.5% 37202277 / 36933739 / +0.7% 0.98 / 0.99 / -1.2%
decompress time/wide table cols=10000 chunks=50 rows=1000 36488511 / 37072530 / -1.6% 37427508 / 37237305 / +0.5% 0.97 / 1.00 / -2.1%
vortex / arrow-ipc / bytes (1.000x ➖, 0↓ 0↑)
name bytes (PR / base / %diff)
arrow-ipc size/arade 680639738 / 680639738 / +0.0%
arrow-ipc size/bimbo 3168319202 / 3168319202 / +0.0%
arrow-ipc size/cmsprovider 2394412338 / 2394412338 / +0.0%
arrow-ipc size/euro2016 359300058 / 359300058 / +0.0%
arrow-ipc size/food 252069522 / 252069522 / +0.0%
arrow-ipc size/hashtags 700364578 / 700364578 / +0.0%
arrow-ipc size/sparse-wide-flat-runs 245220562 / 245220562 / +0.0%
arrow-ipc size/sparse-wide-lists-runs 142046434 / 142046434 / +0.0%
arrow-ipc size/sparse-wide-lists-shuffled 142871010 / 142871010 / +0.0%
arrow-ipc size/sparse-wide-nested-child-nulls 251527634 / 251527634 / +0.0%
arrow-ipc size/sparse-wide-nested-runs 251527250 / 251527250 / +0.0%
arrow-ipc size/statpopgen 1890451954 / 1890451954 / +0.0%
arrow-ipc size/taxi 474481242 / 474481242 / +0.0%
arrow-ipc size/tpc-h l_comment canonical 184829202 / 184829202 / +0.0%
arrow-ipc size/tpc-h l_comment chunked 184829202 / 184829202 / +0.0%
arrow-ipc size/tpc-h sf1 lineitem 1021072410 / 1021072410 / +0.0%
arrow-ipc size/tpc-h sf1 orders 194812082 / 194812082 / +0.0%
arrow-ipc size/tpc-h sf1 partsupp 131286682 / 131286682 / +0.0%
arrow-ipc size/wide table cols=100 chunks=1 rows=1000 1231818 / 1231818 / +0.0%
arrow-ipc size/wide table cols=100 chunks=50 rows=1000 1231818 / 1231818 / +0.0%
arrow-ipc size/wide table cols=1000 chunks=1 rows=1000 12312634 / 12312634 / +0.0%
arrow-ipc size/wide table cols=1000 chunks=50 rows=1000 12312634 / 12312634 / +0.0%
arrow-ipc size/wide table cols=10000 chunks=1 rows=1000 123192634 / 123192634 / +0.0%
arrow-ipc size/wide table cols=10000 chunks=50 rows=1000 123192634 / 123192634 / +0.0%

@robert3005
robert3005 marked this pull request as ready for review November 29, 2026 23:10
Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added the action/bench-compress Run only the compression benchmark on this PR label Nov 29, 2026
@github-actions github-actions Bot removed the action/bench-compress Run only the compression benchmark on this PR label Nov 29, 2026
@robert3005 robert3005 added the action/bench-compress Run only the compression benchmark on this PR label Nov 30, 2026
@github-actions github-actions Bot removed the action/bench-compress Run only the compression benchmark on this PR label Nov 30, 2026
Signed-off-by: Robert Kruszewski <github@robertk.io>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/performance A performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants