Skip to content

refactor(wc): optimize buffer size for word counting operations

d8a78c1
Select commit
Loading
Failed to load commit list.
Open

wc: increase buffer size for Unicode counting paths #11276

refactor(wc): optimize buffer size for word counting operations
d8a78c1
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Mar 10, 2026

Performance Regression: -93.59%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 3 regressed benchmarks
✅ 294 untouched benchmarks
⏩ 48 skipped benchmarks1

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

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory wc_words_large_line_count[100000] 16.7 KB 260.4 KB -93.59%
Memory wc_words_synthetic[2000] 16.7 KB 260.4 KB -93.59%
Memory wc_default_large_line_count[100000] 16.7 KB 260.4 KB -93.59%

Comparing mattsu2020:performance_analystic (d8a78c1) with main (36b5e59)

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.