Skip to content

Aggregate Fns: Mean#6722

Draft
gatesn wants to merge 2 commits intongates/aggregate-fnsfrom
ngates/aggregate-fns-mean
Draft

Aggregate Fns: Mean#6722
gatesn wants to merge 2 commits intongates/aggregate-fnsfrom
ngates/aggregate-fns-mean

Conversation

@gatesn
Copy link
Contributor

@gatesn gatesn commented Feb 28, 2026

Mean AggregateFn

Signed-off-by: Nicholas Gates <nick@nickgates.com>
Copy link
Contributor Author

gatesn commented Feb 28, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gatesn gatesn mentioned this pull request Feb 28, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 28, 2026

Merging this PR will degrade performance by 18.01%

❌ 3 regressed benchmarks
✅ 951 untouched benchmarks
⏩ 1466 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation bench_many_nulls[0.9] 481.8 µs 547.1 µs -11.94%
Simulation take_map[(0.1, 0.1)] 916.5 µs 1,032.1 µs -11.21%
Simulation take_map[(0.1, 1.0)] 3.6 ms 4.4 ms -18.01%

Comparing ngates/aggregate-fns-mean (ade8613) with ngates/aggregate-fns (6d9bcac)

Open in CodSpeed

Footnotes

  1. 1466 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.

This was referenced Feb 28, 2026
Signed-off-by: Nicholas Gates <nick@nickgates.com>
@gatesn gatesn force-pushed the ngates/aggregate-fns-mean branch from 1f43f0b to ade8613 Compare February 28, 2026 19:45
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 28, 2026

Deploying vortex-bench with  Cloudflare Pages  Cloudflare Pages

Latest commit: ade8613
Status: ✅  Deploy successful!
Preview URL: https://6439fe4d.vortex-93b.pages.dev
Branch Preview URL: https://ngates-aggregate-fns-mean.vortex-93b.pages.dev

View logs

@gatesn gatesn added the changelog/feature A new feature label Feb 28, 2026
if !input_dtype.is_int() && !input_dtype.is_float() {
vortex_bail!("Mean requires numeric input, got {}", input_dtype);
}
Ok(DType::Primitive(PType::F64, Nullability::Nullable))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this nullable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant