Skip to content

optimize percent_encode, percent_encode_index, and percent_decode - #1124

Open
thisalihassan wants to merge 3 commits into
ada-url:mainfrom
thisalihassan:optimize-percent-encode-decode
Open

optimize percent_encode, percent_encode_index, and percent_decode#1124
thisalihassan wants to merge 3 commits into
ada-url:mainfrom
thisalihassan:optimize-percent-encode-decode

improve SSSE3 path

63b475f
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Apr 7, 2026

Performance Regression: -10.65%

⚡ 1 improved benchmark
❌ 5 regressed benchmarks
✅ 21 untouched benchmarks
🆕 4 new benchmarks
⏩ 4 skipped benchmarks1

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

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 Decode N/A 5.5 µs N/A
C0Control 3.3 µs 3.6 µs -9.1%
url_search_params_AdaURL 196.1 µs 137 µs +43.18%
🆕 LongQuery N/A 7.6 µs N/A
Fragment 3.2 µs 3.6 µs -10.65%
SpecialQuery 3.3 µs 3.6 µs -9.1%
🆕 DecodeClean N/A 2 µs N/A
Query 3.3 µs 3.6 µs -9.84%
🆕 LongFragment N/A 7.6 µs N/A
UserInfo 4.2 µs 4.5 µs -6.45%

Comparing thisalihassan:optimize-percent-encode-decode (63b475f) with main (95895d6)

Open in CodSpeed

Footnotes

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