Add split-collection benchmark for scan planning - #9270
Closed
AdamGS wants to merge 3 commits into
Closed
Conversation
Merging this PR will improve performance by 12.39%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | decompress[u64, (1000, 16)] |
72.5 µs | 64.5 µs | +12.44% |
| ⚡ | Simulation | search_index_in_range_chunked |
6.1 ms | 5.4 ms | +12.34% |
| 🆕 | Simulation | cold_misaligned[(64, 256)] |
N/A | 36 ms | N/A |
| 🆕 | Simulation | cold_misaligned[(8, 256)] |
N/A | 4.2 ms | N/A |
| 🆕 | Simulation | cold_single_column[(1, 1024)] |
N/A | 4.9 ms | N/A |
| 🆕 | Simulation | cold_single_column[(64, 256)] |
N/A | 1.7 ms | N/A |
| 🆕 | Simulation | cold_single_column[(8, 256)] |
N/A | 1.6 ms | N/A |
| 🆕 | Simulation | cold[(1, 1024)] |
N/A | 2.2 ms | N/A |
| 🆕 | Simulation | cold[(64, 256)] |
N/A | 32.8 ms | N/A |
| 🆕 | Simulation | cold[(8, 256)] |
N/A | 4.1 ms | N/A |
| 🆕 | Simulation | warm_misaligned[(64, 256)] |
N/A | 75.8 ms | N/A |
| 🆕 | Simulation | warm_misaligned[(8, 256)] |
N/A | 8.7 ms | N/A |
| 🆕 | Simulation | warm[(1, 1024)] |
N/A | 1.5 ms | N/A |
| 🆕 | Simulation | warm[(64, 256)] |
N/A | 71.3 ms | N/A |
| 🆕 | Simulation | warm[(8, 256)] |
N/A | 8.3 ms | N/A |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing adamg/split-bench (7274546) with develop (d443eab)
Footnotes
-
8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
AdamGS
force-pushed
the
adamg/split-bench
branch
from
August 7, 2026 11:35
acf6eef to
e09ea5d
Compare
Benchmarks SplitBy::Layout over written files (struct -> chunked -> flat
per column) across column and chunk counts:
- cold: fresh reader tree per iteration, as the first scan over a file
- warm: reused reader tree
- cold_single_column: narrow field mask over a wide schema
- {cold,warm}_misaligned: per-column chunk granularities so no two
columns share interior chunk boundaries
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
AdamGS
force-pushed
the
adamg/split-bench
branch
from
August 7, 2026 12:56
e09ea5d to
7274546
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.
Rationale for this change
Benchmarks SplitBy::Layout over written files (struct -> chunked -> flat per column) across column and chunk counts: