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
139
Ignored
1
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
cksum_default
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
-1%
16.8 ms16.9 ms
cksum_raw_output
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
-1%
16.8 ms16.9 ms
cksum_crc
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
-1%
16.9 ms17 ms
sort_ascii_only[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
+1%
330.8 ms329.1 ms
sort_case_insensitive[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
-1%
255.3 ms256.6 ms
dd_copy_with_skip
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
cksum_crc32b
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
13.1 ms13.1 ms
cp_recursive_deep_tree[(120, 4)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
13.6 ms13.7 ms
dd_copy_default
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
13.7 ms13.7 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
sort_reverse_locale[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
337.4 ms337.9 ms
dd_copy_1m_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
cp_preserve_metadata[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
74.8 ms74.9 ms
dd_copy_8k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1 ms1 ms
sort_general_numeric[200000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
726.4 ms727.2 ms
du_all_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
19.3 ms19.3 ms
du_deep_tree[(100, 3)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
sort_long_line[160000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
dd_copy_separate_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
44.1 ms44 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
7 months ago
by mattsu2020
+2.13%
fix fold: emit output early when column count reaches width limit
b21cf35
7 months ago
by mattsu2020
+6.15%
refactor(fold): split long if-conditions into multiple lines for readability
b0e0033
7 months ago
by mattsu2020
-1.16%
feat(fold): add streaming output with periodic flushing to reduce memory usage
ac09d10
7 months ago
by mattsu2020
-2.52%
fix(fold): correct premature output emission in character mode and add tests
dba5b9b
7 months ago
by mattsu2020
0%
refactor: clean up formatting in fold utility and tests
556804c
7 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
5424072
7 months ago
by mattsu2020
0%
feat(fold): add unicode-width dependency and tests for zero-width characters
a1bbd40
7 months ago
by mattsu2020
0%
perf: use bytecount for efficient newline counting in fold tests
d176e65
7 months ago
by mattsu2020
+41.66%
refactor: Handle zero-width bytes across buffer boundaries in fold
dbad8db
7 months ago
by mattsu2020
-0.46%
refactor(fold): condense variable assignment to single line
75c542f
7 months ago
by mattsu2020
-0.03%
Merge branch 'main' into fold_compatibility
662a011
7 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
3b07c8e
7 months ago
by mattsu2020
+3.43%
Merge branch 'main' into fold_compatibility
1d35753
7 months ago
by mattsu2020
0%
fix(fold): properly handle combining characters in character-counting mode
eb7d8c4
7 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
b9b46be
7 months ago
by mattsu2020
+0.73%
Merge branch 'main' into fold_compatibility
5e1d7f5
6 months ago
by mattsu2020
0%
refactor(fold): add comments to explain streaming flush logic and prevent unbounded buffering
e54a74b
6 months ago
by mattsu2020
0%
refactor(fold): extract UTF-8 char processing and improve pending chunk handling
5de4b28
6 months ago
by mattsu2020
-0.06%
Merge branch 'main' into fold_compatibility
0605e24
6 months ago
by mattsu2020
+0.03%
Merge branch 'main' into fold_compatibility
25b5c11
6 months ago
by sylvestre
+0.03%
refactor(fold): add streaming flush threshold and enhance comments in fold logic
654c128
6 months ago
by mattsu2020
+0.1%
refactor(fold): optimize output flushing and vector preallocation
71f845c
6 months ago
by mattsu2020
-0.05%
Merge branch 'main' into fold_compatibility
895cdaa
5 months ago
by sylvestre
-49.94%
fix(fold): flush output after pushing byte in push_byte function
7331d23
5 months ago
by mattsu2020
+49.88%
chore(deps): update Rust dependencies to latest versions
afbd393
5 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
3c86fbf
5 months ago
by mattsu2020
0%
Merge branch 'main' into fold_compatibility
6cd6f50
5 months ago
by sylvestre
-0.04%
Merge branch 'main' into fold_compatibility
30b53a8
5 months ago
by sylvestre
+0.04%
Merge branch 'main' into fold_compatibility
2616981
5 months ago
by mattsu2020
-77.32%
Merge branch 'main' into fold_compatibility
96da2d4
5 months ago
by mattsu2020
0%
chore: update Rust dependencies to latest versions
9ab1271
5 months ago
by mattsu2020
+18.3%
Merge branch 'main' into fold_compatibility
fb6e73e
5 months ago
by mattsu2020
+59.14%
Merge branch 'main' into fold_compatibility
47fb94e
5 months ago
by sylvestre
© 2026 CodSpeed Technology
Home Terms Privacy Docs