Avatar for the uutils user
uutils
coreutils
BlogDocsChangelog

cat: add colorization functionality

#8741
Comparing
Alonely0:main
(
1cffdcb
) with
main
(
5efafd6
)
CodSpeed Performance Gauge
0%
Untouched
55
Skipped
1

Benchmarks

Skipped (1)

Passed

numfmt_round_modes[("down", 1000000)]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_round_modes[("down", 1000000)]
CodSpeed Performance Gauge
0%
184.1 µs184 µs
tsort_input_parsing_heavy[10000]
src/uu/tsort/benches/tsort_bench.rs::tsort_input_parsing_heavy[10000]
CodSpeed Performance Gauge
0%
120 µs120 µs
tsort_input_parsing_heavy[50000]
src/uu/tsort/benches/tsort_bench.rs::tsort_input_parsing_heavy[50000]
CodSpeed Performance Gauge
0%
125.1 µs125.1 µs
tsort_tree_dag[(6, 2)]
src/uu/tsort/benches/tsort_bench.rs::tsort_tree_dag[(6, 2)]
CodSpeed Performance Gauge
0%
126.1 µs126 µs
tsort_linear_chain[100000]
src/uu/tsort/benches/tsort_bench.rs::tsort_linear_chain[100000]
CodSpeed Performance Gauge
0%
126.4 µs126.4 µs
numfmt_padding[(1000000, 5)]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_padding[(1000000, 5)]
CodSpeed Performance Gauge
0%
184.9 µs184.8 µs
numfmt_large_numbers_si[1000000]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_large_numbers_si[1000000]
CodSpeed Performance Gauge
0%
178.6 µs178.6 µs
numfmt_round_modes[("up", 100000)]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_round_modes[("up", 100000)]
CodSpeed Performance Gauge
0%
183.8 µs183.8 µs
tsort_linear_chain[1000000]
src/uu/tsort/benches/tsort_bench.rs::tsort_linear_chain[1000000]
CodSpeed Performance Gauge
0%
126.3 µs126.2 µs
numfmt_padding[(1000000, 50)]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_padding[(1000000, 50)]
CodSpeed Performance Gauge
0%
184.5 µs184.5 µs
wc_lines_large_line_count[10000]
src/uu/wc/benches/wc_bench.rs::wc_lines_large_line_count[10000]
CodSpeed Performance Gauge
0%
5 ms5 ms
wc_default_large_line_count[10000]
src/uu/wc/benches/wc_bench.rs::wc_default_large_line_count[10000]
CodSpeed Performance Gauge
0%
5 ms5 ms
numfmt_from_si[1000000]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_from_si[1000000]
CodSpeed Performance Gauge
0%
182.5 µs182.5 µs
wc_chars_large_line_count[10000]
src/uu/wc/benches/wc_bench.rs::wc_chars_large_line_count[10000]
CodSpeed Performance Gauge
0%
5 ms5 ms
wc_lines_extreme_line_lengths[(100000, 10)]
src/uu/wc/benches/wc_bench.rs::wc_lines_extreme_line_lengths[(100000, 10)]
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
wc_words_large_line_count[10000]
src/uu/wc/benches/wc_bench.rs::wc_words_large_line_count[10000]
CodSpeed Performance Gauge
0%
5 ms5 ms
wc_lines_variable_length[(5, 50)]
src/uu/wc/benches/wc_bench.rs::wc_lines_variable_length[(5, 50)]
CodSpeed Performance Gauge
0%
28.9 ms28.9 ms
wc_chars_large_line_count[50000]
src/uu/wc/benches/wc_bench.rs::wc_chars_large_line_count[50000]
CodSpeed Performance Gauge
0%
24.5 ms24.5 ms
wc_lines_large_line_count[50000]
src/uu/wc/benches/wc_bench.rs::wc_lines_large_line_count[50000]
CodSpeed Performance Gauge
0%
24.5 ms24.5 ms
wc_words_large_line_count[50000]
src/uu/wc/benches/wc_bench.rs::wc_words_large_line_count[50000]
CodSpeed Performance Gauge
0%
24.5 ms24.5 ms
wc_default_large_line_count[50000]
src/uu/wc/benches/wc_bench.rs::wc_default_large_line_count[50000]
CodSpeed Performance Gauge
0%
24.5 ms24.5 ms
wc_lines_variable_length[(5, 100)]
src/uu/wc/benches/wc_bench.rs::wc_lines_variable_length[(5, 100)]
CodSpeed Performance Gauge
0%
28.8 ms28.8 ms
wc_lines_variable_length[(5, 200)]
src/uu/wc/benches/wc_bench.rs::wc_lines_variable_length[(5, 200)]
CodSpeed Performance Gauge
0%
28.7 ms28.7 ms
wc_lines_variable_length[(5, 500)]
src/uu/wc/benches/wc_bench.rs::wc_lines_variable_length[(5, 500)]
CodSpeed Performance Gauge
0%
28.7 ms28.7 ms
wc_chars_large_line_count[100000]
src/uu/wc/benches/wc_bench.rs::wc_chars_large_line_count[100000]
CodSpeed Performance Gauge
0%
48.9 ms48.9 ms
wc_lines_large_line_count[100000]
src/uu/wc/benches/wc_bench.rs::wc_lines_large_line_count[100000]
CodSpeed Performance Gauge
0%
48.9 ms48.9 ms
wc_default_large_line_count[100000]
src/uu/wc/benches/wc_bench.rs::wc_default_large_line_count[100000]
CodSpeed Performance Gauge
0%
48.9 ms48.9 ms
wc_bytes_lines_synthetic[10]
src/uu/wc/benches/wc_bench.rs::wc_bytes_lines_synthetic[10]
CodSpeed Performance Gauge
0%
57.5 ms57.5 ms
wc_bytes_synthetic[10]
src/uu/wc/benches/wc_bench.rs::wc_bytes_synthetic[10]
CodSpeed Performance Gauge
0%
57.5 ms57.5 ms
wc_words_synthetic[10]
src/uu/wc/benches/wc_bench.rs::wc_words_synthetic[10]
CodSpeed Performance Gauge
0%
57.5 ms57.5 ms
wc_words_large_line_count[100000]
src/uu/wc/benches/wc_bench.rs::wc_words_large_line_count[100000]
CodSpeed Performance Gauge
0%
48.9 ms48.9 ms
wc_lines_extreme_line_lengths[(100000, 200)]
src/uu/wc/benches/wc_bench.rs::wc_lines_extreme_line_lengths[(100000, 200)]
CodSpeed Performance Gauge
0%
117.1 ms117.1 ms
wc_lines_large_line_count[500000]
src/uu/wc/benches/wc_bench.rs::wc_lines_large_line_count[500000]
CodSpeed Performance Gauge
0%
243.9 ms243.9 ms
wc_bytes_synthetic[50]
src/uu/wc/benches/wc_bench.rs::wc_bytes_synthetic[50]
CodSpeed Performance Gauge
0%
286.7 ms286.7 ms
wc_bytes_lines_synthetic[100]
src/uu/wc/benches/wc_bench.rs::wc_bytes_lines_synthetic[100]
CodSpeed Performance Gauge
0%
573.3 ms573.3 ms
wc_bytes_synthetic[100]
src/uu/wc/benches/wc_bench.rs::wc_bytes_synthetic[100]
CodSpeed Performance Gauge
0%
573.3 ms573.3 ms
wc_words_synthetic[100]
src/uu/wc/benches/wc_bench.rs::wc_words_synthetic[100]
CodSpeed Performance Gauge
0%
573.3 ms573.3 ms
wc_words_synthetic[1000]
src/uu/wc/benches/wc_bench.rs::wc_words_synthetic[1000]
CodSpeed Performance Gauge
0%
5.7 s5.7 s
wc_bytes_lines_synthetic[1000]
src/uu/wc/benches/wc_bench.rs::wc_bytes_lines_synthetic[1000]
CodSpeed Performance Gauge
0%
5.7 s5.7 s
numfmt_round_modes[("towards-zero", 1000000)]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_round_modes[("towards-zero", 1000000)]
CodSpeed Performance Gauge
0%
184 µs184 µs
tsort_complex_dag[50000]
src/uu/tsort/benches/tsort_bench.rs::tsort_complex_dag[50000]
CodSpeed Performance Gauge
0%
126.7 µs126.7 µs
tsort_linear_chain[1000]
src/uu/tsort/benches/tsort_bench.rs::tsort_linear_chain[1000]
CodSpeed Performance Gauge
0%
126.4 µs126.5 µs
tsort_linear_chain[10000]
src/uu/tsort/benches/tsort_bench.rs::tsort_linear_chain[10000]
CodSpeed Performance Gauge
0%
126.1 µs126.2 µs
tsort_tree_dag[(7, 2)]
src/uu/tsort/benches/tsort_bench.rs::tsort_tree_dag[(7, 2)]
CodSpeed Performance Gauge
0%
126.2 µs126.2 µs
tsort_tree_dag[(5, 3)]
src/uu/tsort/benches/tsort_bench.rs::tsort_tree_dag[(5, 3)]
CodSpeed Performance Gauge
0%
125.6 µs125.7 µs
tsort_tree_dag[(4, 3)]
src/uu/tsort/benches/tsort_bench.rs::tsort_tree_dag[(4, 3)]
CodSpeed Performance Gauge
0%
126 µs126.1 µs
numfmt_to_iec[1000000]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_to_iec[1000000]
CodSpeed Performance Gauge
0%
183.1 µs183.1 µs
numfmt_to_si[1000000]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_to_si[1000000]
CodSpeed Performance Gauge
0%
182.6 µs182.6 µs
numfmt_to_si_precision[1000000]
src/uu/numfmt/benches/numfmt_bench.rs::numfmt_to_si_precision[1000000]
CodSpeed Performance Gauge
0%
188.9 µs189 µs
tsort_complex_dag[5000]
src/uu/tsort/benches/tsort_bench.rs::tsort_complex_dag[5000]
CodSpeed Performance Gauge
0%
126.5 µs126.5 µs
tsort_complex_dag[10000]
src/uu/tsort/benches/tsort_bench.rs::tsort_complex_dag[10000]
CodSpeed Performance Gauge
0%
125.3 µs125.4 µs
tsort_wide_dag[50000]
src/uu/tsort/benches/tsort_bench.rs::tsort_wide_dag[50000]
CodSpeed Performance Gauge
0%
125.5 µs125.5 µs
tsort_wide_dag[10000]
src/uu/tsort/benches/tsort_bench.rs::tsort_wide_dag[10000]
CodSpeed Performance Gauge
0%
125.1 µs125.1 µs
tsort_complex_dag[1000]
src/uu/tsort/benches/tsort_bench.rs::tsort_complex_dag[1000]
CodSpeed Performance Gauge
0%
126 µs126.1 µs
tsort_wide_dag[100000]
src/uu/tsort/benches/tsort_bench.rs::tsort_wide_dag[100000]
CodSpeed Performance Gauge
0%
125.7 µs125.8 µs

Commits

Click on a commit to change the comparison range
Base
main
5efafd6
-0.01%
chore: clippy pass on cat(1) Fix CI (on my end; there are clippy errors outside of my scope, but that's another commit/PR).
4a03b8d
1 day ago
by Alonely0
+0.01%
cat: rework ansi interpolation The algorithm is now a minimum taxicab distance.
1cffdcb
16 hours ago
by Alonely0
© 2025 CodSpeed Technology
Home Terms Privacy Docs