Avatar for the uutils user
uutils
coreutils
BlogDocsChangelog

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
build: gate SELinux utilities behind feat_selinux
xtqqczze:features-feat_selinux
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%
4 months ago
7f0bcc2
xtqqczze:features-feat_selinux
CodSpeed Performance Gauge
-9%
3 days ago
4d4f267
ChihweiLHBird:zhiwei/fix-hwcaps-tunable-parsing
© 2026 CodSpeed Technology
Home Terms Privacy Docs