Skip to content

perf(datafusion): avoid Arrow session lookup for ordinary scalars - #10541

Merged
joseph-isaacs merged 1 commit into
developfrom
ji/df-scalar-session
Oct 16, 2026
Merged

joseph-isaacs merged 1 commit into
developfrom
ji/df-scalar-session

perf(datafusion): avoid Arrow session lookup for ordinary scalars

c9e7439
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 16, 2026 in 0s

Performance Regression: -16.55%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ 1 benchmark measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. This result is not comparable, so it counts as unchanged.

Preventing compiler optimizations

⚠️ 28 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

ℹ️ 40 benchmarks have no flame graph

The flamegraph could not be generated because we failed to resolve the symbols in the profiling trace. This happens when we fail to harvest information about language frames.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
❌ 5 regressed benchmarks
✅ 2253 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime filter_neon[8] 867 ns 1,382 ns -37.26%
❌ WallTime threshold_neon[8] 1.5 µs 1.9 µs -22.13%
❌ WallTime threshold_neon[80] 3.7 µs 4.5 µs -17.64%
❌ WallTime filter_neon[64] 1.7 µs 2.1 µs -15.69%
❌ WallTime bitpack_blocked_compress_avx2 6.7 µs 7.6 µs -11.55%
⚡ ℹ️ Simulation test_scan_filter[int] 3.4 ms 3 ms +12.53%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ji/df-scalar-session (c9e7439) with develop (ad42859)

Open in CodSpeed