Repository navigation
feat(benchmarks): add the DuckShop 10K generator - #1248
Merged
Merged
Conversation
kvlonge
enabled auto-merge (squash)
October 24, 2026 15:20
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.
Why
Compile benchmarks at 10,000 models used a uniform synthetic project. DuckShop 10K grows the hand-written DuckShop project into a realistic large project, so scale guards measure the construct mix and graph shape of a real codebase.
Changes
benchmarks/duckshop-10k/: a deterministic, versioned generator that writes a ~10,282-model Snowflake SQL project (about 60/19/21 staging/intermediate/marts) from DuckShop's patterns, with audits, sampled unit tests, scenarios, functions and a custom rule. Only the generator, its tests, a README andchecksum.txtare committed; the output is never committed.--verify/--checkcompare the output with the checksum, a hash of a sorted per-file manifest. Output changes need a generator version bump.make test-e2e-dense-compile-performanceruns the generator tests and that test in the 10K cell only, after the dense guards, so they never share the job's memory limit.Verification
make check-ci;make -nfor the 10K and 1K cells of the dense target.