uutils
coreutils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
expr: speed up index from O(N*M) to O(N+M)
#12580
Comparing
sylvestre:expr-speed-up-index
(
1ce6a07
) with
main
(
0011d54
)
CodSpeed Performance Gauge
×16,000
Improvement
2
Untouched
321
Ignored
1
Skipped
46
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
Skipped
370 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
index_no_match
src/uu/expr/benches/expr_bench.rs
CodSpeed Performance Gauge
×16,000
19,663 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
index_match_at_end
src/uu/expr/benches/expr_bench.rs
CodSpeed Performance Gauge
×16,000
19,662.9 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_summarize_balanced_tree[(5, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
+2%
6.8 ms
6.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_max_depth_balanced_tree[(6, 4, 10)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
+1%
26 ms
25.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_ascii_only[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
326.6 ms
325.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort_unique_locale[500000]
src/uu/sort/benches/sort_bench.rs
CodSpeed Performance Gauge
0%
466 ms
465 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cksum_multiple_files
src/uu/cksum/benches/cksum_bench.rs
CodSpeed Performance Gauge
0%
25.1 ms
25 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
9.3 ms
9.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
socket_addrs_direct[100000]
src/uu/hostname/benches/hostname_bench.rs
CodSpeed Performance Gauge
0%
54.7 µs
54.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_decode_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
63.6 µs
63.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_decode_ignore_garbage_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
63.4 µs
63.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
single_date_now
src/uu/date/benches/date_bench.rs
CodSpeed Performance Gauge
0%
85.5 µs
85.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
du_all_wide_tree[(5000, 500)]
src/uu/du/benches/du_bench.rs
CodSpeed Performance Gauge
0%
16.2 ms
16.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dd_copy_8k_blocks
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
785.7 µs
784.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_archive_balanced_tree[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
77.4 ms
77.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
df_deep_directory
src/uu/df/benches/df_bench.rs
CodSpeed Performance Gauge
0%
353.3 µs
353.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
df_with_path
src/uu/df/benches/df_bench.rs
CodSpeed Performance Gauge
0%
304.8 µs
304.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
complex_relative_date
src/uu/date/benches/date_bench.rs
CodSpeed Performance Gauge
0%
136.2 µs
136.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dd_copy_with_seek
src/uu/dd/benches/dd_bench.rs
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
b64_encode_synthetic
src/uu/base64/benches/base64_bench.rs
CodSpeed Performance Gauge
0%
59.1 µs
59.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
merge_pre_sorted_files
src/uu/sort/benches/sort_bench_merge.rs
CodSpeed Performance Gauge
0%
102.9 ms
102.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
split_number_chunks
src/uu/split/benches/split_bench.rs
CodSpeed Performance Gauge
0%
141.8 µs
141.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_preserve_metadata[(5, 4, 10)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
74.1 ms
74.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cp_recursive_deep_tree[(120, 4)]
src/uu/cp/benches/cp_bench.rs
CodSpeed Performance Gauge
0%
13.1 ms
13.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
split_bytes
src/uu/split/benches/split_bench.rs
CodSpeed Performance Gauge
0%
387.3 µs
387.2 µs
1
2
3
4
5
...
15
Commits
Click on a commit to change the comparison range
Base
main
0011d54
×16,000
expr: speed up index from O(N*M) to O(N+M)
1ce6a07
6 hours ago
by sylvestre
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs