Skip to content

perf: specialize shifts for small sizes#563

Closed
DaniPopes wants to merge 1 commit intorecmo:mainfrom
DaniPopes:dani/shift-specialization
Closed

perf: specialize shifts for small sizes#563
DaniPopes wants to merge 1 commit intorecmo:mainfrom
DaniPopes:dani/shift-specialization

Conversation

@DaniPopes
Copy link
Contributor

No description provided.

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 7, 2026

Merging this PR will degrade performance by 14.1%

⚡ 5 improved benchmarks
❌ 1 regressed benchmark
✅ 380 untouched benchmarks

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

Performance Changes

Benchmark BASE HEAD Efficiency
from/f32/128 366 µs 294 µs +24.49%
from/f64/128 354 µs 301.6 µs +17.36%
overflowing_shr/128 357 µs 318.4 µs +12.14%
wrapping_shl/128 281.9 µs 244.8 µs +15.15%
wrapping_shr/128 292.9 µs 248.8 µs +17.73%
pow/128 64.9 µs 75.6 µs -14.1%

Comparing DaniPopes:dani/shift-specialization (bf7be6d) with main (c147f59)

Open in CodSpeed

@DaniPopes DaniPopes force-pushed the dani/shift-specialization branch from 624b3a2 to 5756b96 Compare February 7, 2026 05:11
@DaniPopes DaniPopes force-pushed the dani/shift-specialization branch from 5756b96 to bf7be6d Compare February 7, 2026 05:23
@DaniPopes DaniPopes closed this Feb 7, 2026
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