Avatar for the uutils user
uutils
coreutils
BlogDocsChangelog

fmt : handle invalid UTF-8 input by replacing malformed sequences

#9329Merged
Comparing
mattsu2020:fmt_compatibility
(
9182df4
) with
main
(
0d403a4
)
CodSpeed Performance Gauge
0%
Untouched
140
Ignored
1
Skipped
38

Benchmarks

179 total
dd_copy_partial
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
-1%
564.4 µs571.3 µs
du_max_depth_balanced_tree[(6, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
-1%
32.9 ms33.2 ms
cksum_crc
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
16.7 ms16.8 ms
sort_unique_locale[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
483.2 ms481.4 ms
du_deep_tree[(100, 3)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
dd_copy_default
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
13.9 ms14 ms
dd_copy_with_skip
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
dd_copy_8k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1 ms1 ms
du_summarize_balanced_tree[(5, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
8.5 ms8.5 ms
du_all_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms
cp_preserve_metadata[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
74.9 ms75 ms
cksum_multiple_files
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
25.2 ms25.2 ms
rm_recursive_tree
src/uu/rm/benches/rm_bench.rs
CodSpeed Performance Gauge
0%
11.8 ms11.8 ms
sort_mixed_utf8_locale
src/uu/sort/benches/sort_locale_utf8_bench.rs
CodSpeed Performance Gauge
0%
37.7 ms37.8 ms
sort_unique_utf8_locale
src/uu/sort/benches/sort_locale_utf8_bench.rs
CodSpeed Performance Gauge
0%
37.9 ms38 ms
dd_copy_with_seek
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
cksum_sysv
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
48.1 ms48.2 ms
dd_copy_64k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
617.1 µs617.6 µs
dd_copy_separate_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
44 ms44.1 ms
cp_recursive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
72.4 ms72.3 ms
dd_copy_4k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
sort_long_line[160000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
du_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
11.3 ms11.3 ms
sort_german_c_locale
src/uu/sort/benches/sort_locale_c_bench.rs
CodSpeed Performance Gauge
0%
37.9 ms37.9 ms
df_deep_directory
src/uu/df/benches/df_bench.rs
CodSpeed Performance Gauge
0%
382.5 µs382.3 µs

Commits

Click on a commit to change the comparison range
Base
main
0d403a4
0%
chore: add FFFD to spell-checker ignore list in fmt test.
2c617d4
9 months ago
by mattsu2020
-0.01%
refactor(uu/fmt): switch string outputs to byte slices for efficiency
db77543
9 months ago
by mattsu2020
0%
refactor(fmt): replace Option::map_or(false, f) with is_some_and(f)
4445c5a
9 months ago
by mattsu2020
+2.07%
style(fmt): compact whitespace check in WordSplit iterator to single line
c59f1bc
9 months ago
by mattsu2020
-2.09%
fix(test_fmt): align invalid UTF-8 handling with GNU-compatible passthrough
6a313a4
9 months ago
by mattsu2020
+0.05%
Merge branch 'main' into fmt_compatibility
fee09e6
8 months ago
by mattsu2020
-0.01%
Merge branch 'main' into fmt_compatibility
e36cf9d
8 months ago
by mattsu2020
+0.01%
Merge branch 'main' into fmt_compatibility
94efbb4
8 months ago
by mattsu2020
-0.03%
refactor(parasplit): extract scan_word_end method to eliminate code duplication
6ee9241
8 months ago
by mattsu2020
-0.01%
feat(fmt): add byte_display_width function for UTF-8 display width calculation
6348929
8 months ago
by mattsu2020
-0.01%
Merge branch 'main' into fmt_compatibility
8ece9f5
7 months ago
by sylvestre
+0.02%
Merge branch 'main' into fmt_compatibility
d2fa979
7 months ago
by mattsu2020
+0.01%
Merge branch 'main' into fmt_compatibility
637bf76
7 months ago
by mattsu2020
0%
refactor(fmt/parasplit): introduce DecodedCharInfo struct for unified UTF-8 char handling
2c5b12d
7 months ago
by mattsu2020
-0.03%
style(fmt): remove extra blank lines in parasplit.rs
9182df4
7 months ago
by mattsu2020
© 2026 CodSpeed Technology
Home Terms Privacy Docs