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
141
Skipped
38

Benchmarks

179 total
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_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
cp_large_file[16]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
371.7 µs371 µs
cksum_multiple_files
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
25.2 ms25.2 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
df_deep_directory
src/uu/df/benches/df_bench.rs
CodSpeed Performance Gauge
0%
382.5 µs382.3 µs
wc_bytes_synthetic[500]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
191.6 µs191.6 µs
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.8 ms
cp_archive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
78 ms78 ms
factor_multiple_u64s[2]
src/uu/factor/benches/factor_bench.rs
CodSpeed Performance Gauge
0%
224.9 ms224.9 ms
ls_recursive_balanced_tree[(6, 4, 15)]
src/uu/ls/benches/ls_bench.rs
CodSpeed Performance Gauge
0%
55.3 ms55.3 ms
split_numeric_suffix
src/uu/split/benches/split_bench.rs
CodSpeed Performance Gauge
0%
5.9 ms5.9 ms
wc_lines_extreme_line_lengths[(100000, 200)]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
wc_lines_large_line_count[500000]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms
wc_lines_variable_length[(50, 500)]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
wc_chars_large_line_count[100000]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
1 ms1 ms
wc_bytes_lines_synthetic[2000]
src/uu/wc/benches/wc_bench.rs
CodSpeed Performance Gauge
0%
120.2 ms120.2 ms
shuf_repeat_sampling[50000]
src/uu/shuf/benches/shuf_bench.rs
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms

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