Skip to content

Performance improvement: do more work per buffer access#26

Merged
mzabani merged 11 commits into
masterfrom
perf-improvements-parse-multiple-rows
Jun 25, 2026
Merged

Performance improvement: do more work per buffer access#26
mzabani merged 11 commits into
masterfrom
perf-improvements-parse-multiple-rows

Conversation

@mzabani

@mzabani mzabani commented Jun 25, 2026

Copy link
Copy Markdown
Owner

I'm seeing a ~15.4% reduction in run time materializing rows with this change.

The main change is once we extract from the IORef buffer, we now parse as many DataRows at once as we can, instead of parsing at most one DataRow per buffer access.

max_mem_in_use_bytes does go up a few MB in some benchmarks because of course we materialize more rows at once - but that's still a very worthy tradeoff.

@mzabani
mzabani marked this pull request as ready for review June 25, 2026 20:32
@mzabani
mzabani merged commit ea8c2d1 into master Jun 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant