Skip to content

sort: pre-compute ICU collation sort keys for fast locale sorting

d6baba4
Select commit
Loading
Failed to load commit list.
Merged

Sort: improve some of the performances #11412

sort: pre-compute ICU collation sort keys for fast locale sorting
d6baba4
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Mar 19, 2026 in 0s

Performance Regression: -45.43%

⚡ 1 improved benchmark
❌ 2 regressed benchmarks
✅ 295 untouched benchmarks
⏩ 48 skipped benchmarks1

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

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory sort_german_de_locale 1.8 MB 3.3 MB -45.43%
Simulation sort_ascii_utf8_locale 15.2 ms 16.1 ms -5.87%
Simulation sort_german_de_locale 640.5 ms 131.6 ms ×4.9

Comparing sylvestre:sort-perf (d6baba4) with main (0b437e9)

Open in CodSpeed

Footnotes

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