Skip to content

refactor: isolate bitpacked v1 serde in the plugin - #9937

Draft
mhk197 wants to merge 1 commit into
developfrom
mk/bitpacked-stack-01-wire-boundary
Draft

mhk197 wants to merge 1 commit into
developfrom
mk/bitpacked-stack-01-wire-boundary

Conversation

@mhk197

@mhk197 mhk197 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Move serialization and deserialization of fastlanes.bitpacked into BitPackedPlugin, shared with the external-patches adapter. The plugin owns the protobuf metadata and wire validation.

The VTable retains only the required error-returning serde methods and in-memory array validation.

@codspeed

codspeed Bot commented Sep 18, 2026

Copy link
Copy Markdown

Merging this PR will regress 1 benchmark

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

⚡ 2 improved benchmarks
❌ 1 regressed benchmark
✅ 2250 untouched benchmarks
⏩ 218 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime mul_i32_nonnull_avx512 7.1 µs 7.9 µs -10.38%
WallTime filtered_sink_i64_avx2[OneNullInEight] 25.8 µs 23.1 µs +11.35%
WallTime mul_u32_nonnull_avx512 6.3 µs 5.6 µs +11.25%

Tip

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


Comparing mk/bitpacked-stack-01-wire-boundary (9681199) with develop (c6678f3)

Open in CodSpeed

Footnotes

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

Signed-off-by: "Matt Katz" <mhkatz97@gmail.com>
@mhk197
mhk197 force-pushed the mk/bitpacked-stack-01-wire-boundary branch from 950de57 to 9681199 Compare September 18, 2026 19:42
@mhk197 mhk197 changed the title refactor: isolate bitpacked v1 serialization refactor: isolate bitpacked v1 serde in the plugin Sep 18, 2026
@mhk197
mhk197 deployed to duckdb-build September 18, 2026 19:42 — with GitHub Actions Active

This branch was successfully deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant