Repository navigation
Benchmarks: a cost-per-column table with every typed method on one row class - #278
Merged
Merged
Conversation
…w class A cost-per-column benchmark in which every typed method builds the same row class. No library code changes. - `CostPerColumnBenchmarks`: the same read at 1 and 20 columns over the synthetic reader in default access: the hand-written selector (baseline), its identical copy as the noise control, the annotated generated reader, object arrays and Dapper `Query<T>`, all but the arrays building `GenRowD1` or `GenRowD20`. The cost of one more cell is the 20-column time less the 1-column time, over the cells added. - Each timed process sets up and checks only its own rung against plain ADO.NET; `--verify-gate` covers the new table, and in a counters build it proves the generated rung is served by generated code. - The Dapper.AOT advice to add Dapper's column attribute is listed with the project's other suppressed advice: Dapper matches these columns by name. Published conditions: `ODX_GATE_SOURCES=synthetic ODX_GATE_ROWS=1000`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…jectArrays() The 20-column hand selector no longer adds a call per row, and the object-array rung reads the way the library reads rows without a model. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
A cost-per-column benchmark in which every typed method builds the same row class. No library code changes.
CostPerColumnBenchmarks: the same read at 1 and 20 columns over the synthetic reader in default access: the hand-written selector (baseline), its identical copy as the noise control, the annotated generated reader, object arrays (AsObjectArrays()) and DapperQuery<T>, all but the arrays buildingGenRowD1orGenRowD20. The cost of one more cell is the 20-column time less the 1-column time, over the cells added.--verify-gatecovers the new table, and in a counters build it proves the generated rung is served by generated code.Published conditions:
ODX_GATE_SOURCES=synthetic ODX_GATE_ROWS=1000.🤖 Generated with Claude Code