Skip to content

bench: sweep bit-packed compare across all int types and bit widths#8238

Open
joseph-isaacs wants to merge 1 commit into
developfrom
claude/confident-hamilton-mZIEo-benches
Open

bench: sweep bit-packed compare across all int types and bit widths#8238
joseph-isaacs wants to merge 1 commit into
developfrom
claude/confident-hamilton-mZIEo-benches

Conversation

@joseph-isaacs
Copy link
Copy Markdown
Contributor

Summary

Adds bitpack_compare_sweep, a benchmark exercising the public array.binary(rhs, op) compare-against-constant path over all eight integer types and every valid bit width (64Ki in-range elements per case, no patches, no out-of-range fast path). It isolates the <BitPacked as CompareKernel> unpack + per-element compare kernel.

This is the base of a stack: it lands the benchmark measuring the current streaming kernel so that the follow-up kernel change (fused unpack_cmp mask + untranspose) shows up as a CodSpeed diff against this branch.

Checks

  • cargo build -p vortex-fastlanes --bench bitpack_compare_sweep ✅ (builds on develop against published fastlanes)

🤖 Generated with Claude Code


Generated by Claude Code

Add `bitpack_compare_sweep`, which exercises the public `array.binary(rhs,
op)` compare-against-constant path over all eight integer types and every
valid bit width (64Ki in-range elements per case, no patches). It isolates
the `<BitPacked as CompareKernel>` unpack + per-element compare kernel so a
kernel change shows up as a CodSpeed diff.

Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants