Skip to content

aggregate_fn: Return NaN instead of null for mean of all-null input#8365

Merged
robert3005 merged 1 commit into
developfrom
mitko/aggregate/mean-all-null-nan
Jun 11, 2026
Merged

aggregate_fn: Return NaN instead of null for mean of all-null input#8365
robert3005 merged 1 commit into
developfrom
mitko/aggregate/mean-all-null-nan

Return NaN instead of null for mean of all-null input

90d7433
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jun 11, 2026 in 0s

Performance Gate Passed

⚠️ 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.

⚡ 3 improved benchmarks
✅ 1529 untouched benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_bool_canonical_into[(1000, 10)] 35.4 µs 20.5 µs +73.06%
Simulation chunked_varbinview_into_canonical[(1000, 10)] 213.2 µs 177.1 µs +20.42%
Simulation chunked_varbinview_canonical_into[(100, 100)] 308.5 µs 273.5 µs +12.8%

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 mitko/aggregate/mean-all-null-nan (90d7433) with develop (eda4dd0)

Open in CodSpeed