Skip to content

Use upstream ALP crate instead of our own implementation - #9103

Open
robert3005 wants to merge 2 commits into
developfrom
rk/alp02
Open

Use upstream ALP crate instead of our own implementation#9103
robert3005 wants to merge 2 commits into
developfrom
rk/alp02

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

Use ALP crate which is the standalone implementation not tied to vortex

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 added the changelog/chore A trivial change label Jul 30, 2026
@codspeed-hq

codspeed-hq Bot commented Jul 30, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 27.69%

⚡ 29 improved benchmarks
✅ 1813 untouched benchmarks
⏩ 55 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation alp_rd_compress_f64 28.3 ms 2.7 ms ×10
Simulation compress_alp[f32, (10000, 0.1, 0.95)] 312.4 µs 244.1 µs +27.97%
Simulation take_map[(0.1, 1.0)] 2.2 ms 1.7 ms +27.77%
Simulation compress_alp[f32, (10000, 0.01, 1.0)] 253.2 µs 198.2 µs +27.73%
Simulation compress_alp[f32, (10000, 0.1, 1.0)] 267.5 µs 209.5 µs +27.71%
Simulation compress_alp[f32, (10000, 0.01, 0.25)] 262.4 µs 209.7 µs +25.13%
Simulation compress_alp[f32, (10000, 0.01, 0.95)] 264.3 µs 211.5 µs +25%
Simulation compress_alp[f32, (10000, 0.1, 0.25)] 302.3 µs 244.6 µs +23.56%
Simulation compress_rd[f32, (100000, 0.1)] 2.4 ms 2 ms +19.55%
Simulation take_map[(0.1, 0.5)] 1,182.5 µs 990.5 µs +19.39%
Simulation compress_rd[f32, (100000, 0.01)] 2.3 ms 2 ms +18.79%
Simulation compress_rd[f32, (100000, 0.0)] 2.3 ms 2 ms +18.7%
Simulation compress_alp[f64, (10000, 0.1, 1.0)] 345 µs 291.2 µs +18.5%
Simulation compress_alp[f64, (10000, 0.01, 1.0)] 325.7 µs 274.8 µs +18.49%
Simulation compress_alp[f64, (10000, 0.01, 0.25)] 335.2 µs 286.3 µs +17.11%
Simulation compress_rd[f32, (10000, 0.1)] 258.7 µs 221.3 µs +16.91%
Simulation compress_alp[f64, (10000, 0.1, 0.95)] 387 µs 331.1 µs +16.87%
Simulation compress_alp[f64, (10000, 0.01, 0.95)] 336.8 µs 288.6 µs +16.71%
Simulation compress_rd[f32, (10000, 0.0)] 258.3 µs 221.4 µs +16.66%
Simulation compress_rd[f32, (10000, 0.01)] 257.5 µs 221.3 µs +16.35%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

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 rk/alp02 (1231400) with develop (3226d32)

Open in CodSpeed

Footnotes

  1. 55 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: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 enabled auto-merge (squash) July 30, 2026 23:42
@robert3005
robert3005 requested review from AdamGS and onursatici July 31, 2026 15:22
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.

1 participant