Avatar for the uutils user
uutils
coreutils
BlogDocsChangelog

fold:fix gnu test fold-zero-width.sh

#9274Merged
Comparing
mattsu2020:fold_compatibility
(
47fb94e
) with
main
(
cbbff30
)
CodSpeed Performance Gauge
+50%
Improvement
2
Untouched
140
Skipped
180

Benchmarks

322 total
fold_custom_width[50000]
src/uu/fold/benches/fold_bench.rs
CodSpeed Performance Gauge
+50%
33.1 ms22 ms
fold_many_lines[100000]
src/uu/fold/benches/fold_bench.rs
CodSpeed Performance Gauge
+44%
80.4 ms55.8 ms
rm_recursive_tree
src/uu/rm/benches/rm_bench.rs
CodSpeed Performance Gauge
+1%
11.9 ms11.7 ms
sort_ascii_only[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
+1%
330.8 ms329.1 ms
du_max_depth_balanced_tree[(6, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
33.5 ms33.4 ms
dd_copy_4k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
du_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
12.4 ms12.4 ms
dd_copy_partial
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
564.3 µs563.3 µs
dd_copy_1m_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
dd_copy_8k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1 ms1 ms
du_all_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
19.3 ms19.3 ms
dd_copy_separate_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
44.1 ms44 ms
wc_bytes_synthetic[500]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
192.8 µs192.7 µs
sort_mixed_c_locale
src/uu/sort/benches/sort_locale_c_bench.rs
CodSpeed Performance Gauge
0%
36.7 ms36.7 ms
df_with_path
src/uu/df/benches/df_bench.rs
CodSpeed Performance Gauge
0%
410.1 µs409.9 µs
sort_german_c_locale
src/uu/sort/benches/sort_locale_c_bench.rs
CodSpeed Performance Gauge
0%
37.3 ms37.3 ms
single_date_now
src/uu/date/benches/date_bench.rs
CodSpeed Performance Gauge
0%
190.1 µs190 µs
cp_archive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
78 ms77.9 ms
cksum_bsd
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
128.4 ms128.4 ms
mv_multiple_to_dir
src/uu/mv/benches/mv_bench.rs
CodSpeed Performance Gauge
0%
12.9 ms12.9 ms
cksum_blake2b
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
192.8 ms192.7 ms
b64_encode_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
168.6 µs168.6 µs
ls_recursive_balanced_tree[(6, 4, 15)]
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
55.2 ms55.2 ms
ls_recursive_mixed_tree
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
tsort_wide_dag[100000]
src/uu/tsort/benches/tsort_bench.rs
CodSpeed Performance Gauge
0%
130.8 ms130.8 ms

Commits

Click on a commit to change the comparison range
Base
main
cbbff30
+0.01%
feat(fold): add column counting for character width mode in process_ascii_line
6d721e5
3 months ago
by mattsu2020
+2.13%
fix fold: emit output early when column count reaches width limit
b21cf35
3 months ago
by mattsu2020
+6.15%
refactor(fold): split long if-conditions into multiple lines for readability
b0e0033
3 months ago
by mattsu2020
-1.16%
feat(fold): add streaming output with periodic flushing to reduce memory usage
ac09d10
3 months ago
by mattsu2020
-2.52%
fix(fold): correct premature output emission in character mode and add tests
dba5b9b
3 months ago
by mattsu2020
0%
refactor: clean up formatting in fold utility and tests
556804c
3 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
5424072
3 months ago
by mattsu2020
0%
feat(fold): add unicode-width dependency and tests for zero-width characters
a1bbd40
3 months ago
by mattsu2020
0%
perf: use bytecount for efficient newline counting in fold tests
d176e65
3 months ago
by mattsu2020
+41.66%
refactor: Handle zero-width bytes across buffer boundaries in fold
dbad8db
3 months ago
by mattsu2020
-0.46%
refactor(fold): condense variable assignment to single line
75c542f
3 months ago
by mattsu2020
-0.03%
Merge branch 'main' into fold_compatibility
662a011
3 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
3b07c8e
3 months ago
by mattsu2020
+3.43%
Merge branch 'main' into fold_compatibility
1d35753
2 months ago
by mattsu2020
0%
fix(fold): properly handle combining characters in character-counting mode
eb7d8c4
2 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
b9b46be
2 months ago
by mattsu2020
+0.73%
Merge branch 'main' into fold_compatibility
5e1d7f5
1 month ago
by mattsu2020
0%
refactor(fold): add comments to explain streaming flush logic and prevent unbounded buffering
e54a74b
1 month ago
by mattsu2020
0%
refactor(fold): extract UTF-8 char processing and improve pending chunk handling
5de4b28
1 month ago
by mattsu2020
-0.06%
Merge branch 'main' into fold_compatibility
0605e24
1 month ago
by mattsu2020
+0.03%
Merge branch 'main' into fold_compatibility
25b5c11
1 month ago
by sylvestre
+0.03%
refactor(fold): add streaming flush threshold and enhance comments in fold logic
654c128
1 month ago
by mattsu2020
+0.1%
refactor(fold): optimize output flushing and vector preallocation
71f845c
1 month ago
by mattsu2020
-0.05%
Merge branch 'main' into fold_compatibility
895cdaa
23 days ago
by sylvestre
-49.94%
fix(fold): flush output after pushing byte in push_byte function
7331d23
23 days ago
by mattsu2020
+49.88%
chore(deps): update Rust dependencies to latest versions
afbd393
23 days ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
3c86fbf
23 days ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
6cd6f50
19 days ago
by sylvestre
-0.04%
Merge branch 'main' into fold_compatibility
30b53a8
19 days ago
by sylvestre
+0.04%
Merge branch 'main' into fold_compatibility
2616981
18 days ago
by mattsu2020
-77.32%
Merge branch 'main' into fold_compatibility
96da2d4
17 days ago
by mattsu2020
0%
chore: update Rust dependencies to latest versions
9ab1271
17 days ago
by mattsu2020
+18.3%
Merge branch 'main' into fold_compatibility
fb6e73e
13 days ago
by mattsu2020
+59.14%
Merge branch 'main' into fold_compatibility
47fb94e
11 days ago
by sylvestre
© 2026 CodSpeed Technology
Home Terms Privacy Docs