Skip to content

Some perf improvements#24

Merged
mzabani merged 6 commits into
masterfrom
some-perf-improvements
Jun 24, 2026
Merged

Some perf improvements#24
mzabani merged 6 commits into
masterfrom
some-perf-improvements

Conversation

@mzabani

@mzabani mzabani commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Making the receive buffer an IORef instead of an MVar improves performance a little bit.

I'm seeing a 3-3.5% reduction in time to materialize results.

mzabani added 6 commits June 23, 2026 17:12
We already say there are no guarantees when documented thread-safety
patterns are violated, this doesn't make things any different.

The perf benefits seem to be around ??
That is much more precise than using `date` because we're not interested
in the noise involved in app startup and teardown.
Postgres doesn't accept them
@mzabani
mzabani merged commit 46cfe7f into master Jun 24, 2026
3 checks passed
@mzabani
mzabani deleted the some-perf-improvements branch June 24, 2026 21:18
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