uutils
coreutils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
tr: write to stdout without line buffering Stdout is line buffered: every chunk was searched for its last newline, and the bytes after it cost an extra write. Write to the file descriptor directly, as cat and tee do. Keep write_output out of line: once inlined into the per-byte loop of translate_input, it made the translator state go to memory on every byte, doubling the time of tr -s. Give test_broken_pipe_no_error more than a pipe buffer to write: it only hit the broken pipe when the output came late, which was already racy on main (1 failure in 60 runs) and became frequent here. Mean of 30 paired runs on a pinned core, 100 MB input: before after tr -d '\n' (text) 36.23 ms 32.64 ms tr -d '\r\n' (CSV) 35.66 ms 31.94 ms
charly-mp:tr-faster-delete
27 minutes ago
tr: write to stdout without line buffering Stdout is line buffered: every chunk was searched for its last newline, and the bytes after it cost an extra write. Write to the file descriptor directly, as cat and tee do. Keep write_output out of line: once inlined into the per-byte loop of translate_input, it made the translator state go to memory on every byte, doubling the time of tr -s. Give test_broken_pipe_no_error more than a pipe buffer to write: it only hit the broken pipe because the output used to be delayed. Mean of 30 paired runs on a pinned core, 100 MB input: before after tr -d '\n' (text) 36.23 ms 32.64 ms tr -d '\r\n' (CSV) 35.66 ms 31.94 ms
charly-mp:tr-faster-delete
2 hours ago
build: gate SELinux utilities behind feat_selinux
xtqqczze:features-feat_selinux
3 hours ago
uucore: only honour the last glibc.cpu.hwcaps setting, case-sensitively Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
ChihweiLHBird:zhiwei/fix-hwcaps-tunable-parsing
3 hours ago
dd: ignore a failed cache drop while copying Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
ChihweiLHBird:zhiwei/fix-dd-nocache-on-a-pipe
3 hours ago
dd: fix conv=block/unblock conflict handling Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
ChihweiLHBird:zhiwei/fix-dd-conv-conflicts
3 hours ago
numfmt: fold format-escape error test into cases array Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
main
3 hours ago
csplit: test a negative offset bound with --suppress-matched
main
3 hours ago
Latest Branches
CodSpeed Performance Gauge
-2%
tr: speed up -d
#14897
3 hours ago
d9d4e8a
charly-mp:tr-faster-delete
CodSpeed Performance Gauge
+8%
build: gate SELinux utilities behind selinux
#12395
4 months ago
7f0bcc2
xtqqczze:features-feat_selinux
CodSpeed Performance Gauge
-9%
uucore: only honour the last glibc.cpu.hwcaps setting, case-sensitively
#14844
3 days ago
4d4f267
ChihweiLHBird:zhiwei/fix-hwcaps-tunable-parsing
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs