Skip to content

split: Reduce malloc#10976

Merged
cakebaker merged 1 commit intouutils:mainfrom
oech3:split-malloc
Mar 6, 2026
Merged

split: Reduce malloc#10976
cakebaker merged 1 commit intouutils:mainfrom
oech3:split-malloc

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 16, 2026

Found at #10954

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 16, 2026

Merging this PR will improve performance by 19.82%

⚡ 1 improved benchmark
✅ 293 untouched benchmarks
⏩ 42 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory split_number_chunks 1,127.9 KB 941.3 KB +19.82%

Comparing oech3:split-malloc (9181318) with main (d437fe4)

Open in CodSpeed

Footnotes

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

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/tail/retry. tests/tail/retry is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/misc/io-errors is no longer failing!

@oech3 oech3 marked this pull request as ready for review February 16, 2026 15:43
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/date/date-locale-hour is no longer failing!

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/date/date-locale-hour. tests/date/date-locale-hour is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/date/resolution is no longer failing!
Congrats! The gnu test tests/basenc/bounded-memory is now passing!
Congrats! The gnu test tests/expand/bounded-memory is now passing!
Congrats! The gnu test tests/tail/tail-n0f is now passing!

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/date/resolution. tests/date/resolution is passing on 'main'. Maybe you have to rebase?

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/tail/retry is no longer failing!
Congrats! The gnu test tests/expand/bounded-memory is now passing!
Congrats! The gnu test tests/tail/pipe-f is now passing!

@oech3
Copy link
Contributor Author

oech3 commented Feb 26, 2026

@sylvestre is this ok to merge?

@oech3
Copy link
Contributor Author

oech3 commented Mar 5, 2026

Is this OK? mimalloc without this cause -91% perf drop.

@cakebaker cakebaker merged commit f0c71b2 into uutils:main Mar 6, 2026
159 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@oech3 oech3 deleted the split-malloc branch March 6, 2026 09:28
@oech3
Copy link
Contributor Author

oech3 commented Mar 6, 2026

with mimalloc uucore:
split_number_chunks -11%
split_bytes +10%
split_numeric_suffix +1%

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.

2 participants