Skip to content

Reduce vortex-fastlanes debug symbols size by introducing debug-only path#8502

Draft
AdamGS wants to merge 2 commits into
developfrom
adamg/reduce-debug-symbols-fastlanes
Draft

Reduce vortex-fastlanes debug symbols size by introducing debug-only path#8502
AdamGS wants to merge 2 commits into
developfrom
adamg/reduce-debug-symbols-fastlanes

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

vortex-fastlanes is currently a pretty big crate, due to its underlying structure/generics.

When running cargo clean; cargo build -p vortex-fastlanes

Currently on `develop:

  • vortex-fastlanes dev build with debug: 229MB rlib 105s
  • vortex-fastlanes dev build no debug: 119MB rlib 57s

We currently disable debug symbols for it to improve our development experience, but underlying crates can't enjoy that without explicitly adding the same or similar configuration.

With this branch, the build takes 30s and generates a 60MB rlib, with no performance impact for release builds.

@AdamGS AdamGS added the changelog/performance A performance improvement label Jun 19, 2026
@codspeed-hq

codspeed-hq Bot commented Jun 19, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 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
❌ 4 regressed benchmarks
✅ 1574 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation decompress_rd[f64, (10000, 0.1)] 109 µs 135.5 µs -19.55%
Simulation decompress_rd[f64, (10000, 0.01)] 108.7 µs 135.1 µs -19.54%
Simulation decompress_rd[f64, (10000, 0.0)] 108.7 µs 135.1 µs -19.54%
Simulation decompress_rd[f32, (10000, 0.1)] 78.1 µs 86.8 µs -10.04%
Simulation chunked_varbinview_opt_canonical_into[(1000, 10)] 206.8 µs 170.2 µs +21.46%
Simulation decompress_rd[f64, (100000, 0.0)] 978.9 µs 843.2 µs +16.1%
Simulation chunked_varbinview_into_canonical[(100, 100)] 307.1 µs 272.8 µs +12.59%

Tip

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


Comparing adamg/reduce-debug-symbols-fastlanes (31b9d58) with develop (3a7b9a0)

Open in CodSpeed

@AdamGS AdamGS force-pushed the adamg/reduce-debug-symbols-fastlanes branch from 532f345 to aefa6b8 Compare June 19, 2026 10:32
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/reduce-debug-symbols-fastlanes branch from aefa6b8 to 8b3b046 Compare June 19, 2026 10:34
.
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS changed the title Reduce vortex-fastlanes debug symbolx size without config Reduce vortex-fastlanes debug symbols size by introducing debug-only path Jun 19, 2026
@AdamGS AdamGS requested a review from joseph-isaacs June 19, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/performance A performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant