Skip to content

uucore: use mimalloc#10868

Draft
oech3 wants to merge 2 commits intouutils:mainfrom
oech3:nix-ctrlc
Draft

uucore: use mimalloc#10868
oech3 wants to merge 2 commits intouutils:mainfrom
oech3:nix-ctrlc

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 10, 2026

No description provided.

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/pr/bounded-memory is no longer failing!

@oech3

This comment was marked as outdated.

@oech3 oech3 closed this Feb 10, 2026
@oech3 oech3 deleted the nix-ctrlc branch February 10, 2026 21:09
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/pr/bounded-memory. tests/pr/bounded-memory is passing on 'main'. Maybe you have to rebase?
Note: The gnu test tests/rm/rm-readdir-fail was skipped on 'main' but is now failing.

@oech3 oech3 restored the nix-ctrlc branch February 14, 2026 01:20
@oech3 oech3 changed the title bump ctrlc and nix for stty reduce malloc Feb 14, 2026
@oech3 oech3 reopened this Feb 14, 2026
@oech3 oech3 closed this Feb 14, 2026
@oech3 oech3 deleted the nix-ctrlc branch February 14, 2026 01:31
@oech3 oech3 changed the title reduce malloc factor Feb 14, 2026
@oech3 oech3 restored the nix-ctrlc branch February 14, 2026 04:29
@oech3 oech3 reopened this Feb 14, 2026
@oech3 oech3 force-pushed the nix-ctrlc branch 2 times, most recently from 11a3214 to b32f392 Compare February 14, 2026 04:31
@oech3 oech3 changed the title factor malloc Feb 14, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 14, 2026

Merging this PR will degrade performance by 91.46%

⚡ 63 improved benchmarks
❌ 20 regressed benchmarks
✅ 69 untouched benchmarks
⏩ 194 skipped benchmarks1

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

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation wc_bytes_synthetic[500] 87.6 µs 78.3 µs +11.86%
Simulation b64_decode_ignore_garbage_synthetic 63.1 µs 57 µs +10.72%
Simulation b64_encode_synthetic 58.5 µs 54.8 µs +6.78%
Simulation b64_decode_synthetic 63.2 µs 56.1 µs +12.71%
Simulation cksum_blake3 115.9 µs 112.4 µs +3.09%
Simulation sort_mixed_utf8_locale 35.6 ms 37.1 ms -3.96%
Simulation sort_ascii_utf8_locale 15.3 ms 16.7 ms -7.93%
Simulation sort_ascii_c_locale 15.9 ms 17.4 ms -8.72%
Simulation sort_numeric_utf8_locale 19.8 ms 20.6 ms -3.66%
Simulation sort_general_numeric[200000] 709.9 ms 669.2 ms +6.08%
Simulation sort_long_line[10000] 416.8 µs 482 µs -13.52%
Simulation sort_unique_utf8_locale 35.7 ms 37.2 ms -4.04%
Simulation sort_key_field[500000] 774.7 ms 747.1 ms +3.69%
Simulation sort_mixed_c_locale 35.6 ms 37 ms -3.83%
Simulation rm_force_files 2.1 ms 1.4 ms +46.02%
Simulation rm_multiple_files 2.2 ms 1.5 ms +43.18%
Simulation rm_recursive_tree 11.7 ms 8 ms +45.62%
Simulation rm_single_file 46.7 ms 29.5 ms +58.11%
Simulation shuf_lines[100000] 28.2 ms 29.6 ms -4.6%
Simulation shuf_repeat_sampling[50000] 4.7 ms 4.8 ms -3.34%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing oech3:nix-ctrlc (c74151d) with main (60b4d1b)

Open in CodSpeed

Footnotes

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

@oech3 oech3 force-pushed the nix-ctrlc branch 4 times, most recently from 0da9f52 to 45ffc18 Compare February 14, 2026 05:18
@oech3 oech3 closed this Feb 14, 2026
@oech3 oech3 deleted the nix-ctrlc branch February 14, 2026 05:22
@oech3 oech3 restored the nix-ctrlc branch February 15, 2026 22:24
@oech3 oech3 reopened this Feb 15, 2026
@oech3 oech3 force-pushed the nix-ctrlc branch 3 times, most recently from 5510131 to bc878d1 Compare February 15, 2026 22:41
@oech3
Copy link
Contributor Author

oech3 commented Feb 16, 2026

sort perf is still bad.

@oech3 oech3 force-pushed the nix-ctrlc branch 11 times, most recently from 831d014 to 61a5786 Compare February 16, 2026 11:40
@oech3 oech3 changed the title malloc uucore: Try to use mimalloc for all utils Feb 16, 2026
@oech3 oech3 force-pushed the nix-ctrlc branch 3 times, most recently from 504ca79 to db62220 Compare February 16, 2026 11:52
@oech3 oech3 closed this Feb 16, 2026
@oech3 oech3 reopened this Feb 16, 2026
@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/misc/io-errors. tests/misc/io-errors is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/cp/copy-FMR is now being skipped but was previously passing.
Note: The gnu test tests/cp/link-heap is now being skipped but was previously passing.
Note: The gnu test tests/csplit/csplit-heap is now being skipped but was previously passing.
Note: The gnu test tests/cut/bounded-memory is now being skipped but was previously passing.
Note: The gnu test tests/cut/cut-huge-range is now being skipped but was previously passing.
Note: The gnu test tests/dd/no-allocate is now being skipped but was previously passing.
Note: The gnu test tests/expand/bounded-memory is now being skipped but was previously passing.
Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.
Note: The gnu test tests/shuf/shuf-reservoir is now being skipped but was previously passing.
Note: The gnu test tests/sort/sort-stale-thread-mem is now being skipped but was previously passing.
Note: The gnu test tests/sort/sort-u-FMR is now being skipped but was previously passing.
Note: The gnu test tests/unexpand/bounded-memory is now being skipped but was previously passing.

@oech3 oech3 force-pushed the nix-ctrlc branch 6 times, most recently from 60603a2 to f5e379c Compare February 20, 2026 15:00
@oech3 oech3 closed this Feb 25, 2026
@oech3 oech3 deleted the nix-ctrlc branch February 25, 2026 00:37
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