Repository navigation
DRAFT Bench2 26190 - #27153
DRAFT Bench2 26190#27153kosiew wants to merge 3 commits into
Conversation
Measure Substrait consumption of `SELECT c0` over a table with 100, 1000 and 10000 columns, to track the cost of ReadRel schema handling on wide tables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Added `required-features = ["protoc"]` to the `consume_wide_read` configuration in `datafusion/substrait/Cargo.toml`. - Ensures the `protoc` dependency is properly resolved when building the substrait parser, preventing missing‑feature errors during compilation.
`ensure_schema_compatibility` and `apply_projection` looked up every field
of the Substrait base schema with a linear scan of the table schema, making
consumption of a read over a wide table O(m*n). Build a name->index map of
the table schema once instead. Missing or duplicated names fall back to the
existing DFSchema lookups, so errors and disambiguation are unchanged.
Consume time for `SELECT c0` over a table with N columns
(`consume_wide_read` benchmark):
columns before after
100 58 us 25.5 us
1000 2.33 ms 276 us
10000 211 ms 3.16 ms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
run benchmark consume_wide_read baseline:
ref: b1e1a620ed |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing bench2-26190 (ea42f93) to b1e1a62 diff Run configurationrun benchmark consume_wide_read
baseline:
ref: "b1e1a620ed"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing bench2-26190 (ea42f93) to b1e1a62 diff Run configurationrun benchmark consume_wide_read
baseline:
ref: "b1e1a620ed"CPU Details (lscpu)Details
Resource Usageconsume_wide_read — base (merge-base)
consume_wide_read — branch
File an issue against this benchmark runner |
|
run benchmark consume_wide_read baseline:
ref: b1e1a620ed |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing bench2-26190 (ea42f93) to b1e1a62 diff Run configurationrun benchmark consume_wide_read
baseline:
ref: "b1e1a620ed"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing bench2-26190 (ea42f93) to b1e1a62 diff Run configurationrun benchmark consume_wide_read
baseline:
ref: "b1e1a620ed"CPU Details (lscpu)Details
Resource Usageconsume_wide_read — base (merge-base)
consume_wide_read — branch
File an issue against this benchmark runner |
BENCH 26190