Skip to content

Benchmark hpgsql against C# and Rust libraries - #55

Merged
mzabani merged 11 commits into
masterfrom
more-benchmarks
Sep 8, 2026
Merged

mzabani merged 11 commits into
masterfrom
more-benchmarks

Conversation

@mzabani

@mzabani mzabani commented Sep 6, 2026

Copy link
Copy Markdown
Owner

This increases some of our benchmarks to 17 fields per record, which I guess is a bit too much for most real world queries, but is not bad for a benchmark since it increases the variety of decoded types.

However, I feel like other libraries use row.get(N) access patterns that penalize them too much compared to hpgsql, so we should probably change benchmarks to use records with fewer fields, and more queries. (OTOH it is a legitimate advantage of hpgsql that it pays only linear-time costs over number of fields per query).

@mzabani
mzabani marked this pull request as ready for review September 6, 2026 12:28
@mzabani
mzabani merged commit 50035ca into master Sep 8, 2026
3 checks passed
@mzabani
mzabani deleted the more-benchmarks branch September 8, 2026 20:15
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