Add Slon fortunes benchmarks - #2
Open
sebastienros wants to merge 9 commits into
Open
Conversation
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
5 times, most recently
from
August 27, 2026 22:36
3ca31ea to
e6b470b
Compare
NinoFloris
changed the base branch from
main
to
experiment/reader-driven-specialization
August 27, 2026 22:46
NinoFloris
force-pushed
the
experiment/reader-driven-specialization
branch
from
August 27, 2026 22:52
6ed140f to
5257a8b
Compare
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
from
August 27, 2026 22:52
e6b470b to
ae7ab2d
Compare
NinoFloris
force-pushed
the
experiment/reader-driven-specialization
branch
from
August 27, 2026 23:12
5257a8b to
830d620
Compare
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
3 times, most recently
from
August 28, 2026 00:50
3e0edae to
298e9b3
Compare
NinoFloris
force-pushed
the
experiment/reader-driven-specialization
branch
from
August 28, 2026 12:37
9f32d1c to
cc6cc34
Compare
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
from
August 28, 2026 12:37
298e9b3 to
fda44d3
Compare
NinoFloris
changed the base branch from
experiment/reader-driven-specialization
to
experiment/reader-collect
August 28, 2026 21:55
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
2 times, most recently
from
August 28, 2026 22:20
a0ce3bd to
f9ebf75
Compare
Port the Minimal API and low-level Platform fortunes workloads with comparable Slon and Npgsql PostgreSQL paths, plus multi-source Crank scenarios. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use an atomic round-robin protocol pool so the Fortunes scenarios measure Slon command flows independently of the production datasource pool.
NinoFloris
changed the base branch from
experiment/reader-collect
to
experiment/reader-collect-zero-copy
August 31, 2026 15:54
NinoFloris
force-pushed
the
sebros/slon-benchmarks
branch
from
August 31, 2026 15:55
f9ebf75 to
4d71a3e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slon needs an end-to-end TechEmpower Fortunes workload that compares its pipelined PostgreSQL path with Npgsql under equivalent materialization and rendering behavior.
This adds Minimal API and low-level Kestrel Platform benchmark applications. Both drivers materialize messages as strings, append and sort the same model, and render the same RazorSlices template. The Slon path maps standard PostgreSQL connection settings into
SlonDataSourceOptions, prepares one data-source-bound command at startup, reuses it concurrently with cancellation, and applies explicit pool and per-wire pipeline limits.The accompanying Crank configurations clone Slon and pipelining as sibling sources, run only the Slon and Npgsql PostgreSQL jobs, and provide matching 512-connection
/fortunesscenarios.Validation included a full Release solution build, the existing test suite (792 passed, 4 skipped), all four app/driver combinations against PostgreSQL with identical sorted and HTML-escaped output, and Crank debug expansion for both configurations.
Run the benchmarks
The fork repository and branch overrides keep both the raw configuration and cloned Slon source pinned to this PR: