s3bc40
codspeed-guide-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: iterative fibonacci
#3
Comparing
perf/memoized-fib
(
4524443
) with
main
(
45e5fec
)
CodSpeed Performance Gauge
+∞
Improvement
6
Untouched
12
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
18 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib_args[35]
benches/fibonacci.rs
CodSpeed Performance Gauge
+∞
114,772,475.6 ns
373.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib_args[25]
benches/fibonacci.rs
CodSpeed Performance Gauge
×2,700
933,637.2 ns
343.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib_args[15]
benches/fibonacci.rs
CodSpeed Performance Gauge
×26
7,970 ns
312.5 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib
benches/fibonacci.rs
CodSpeed Performance Gauge
×4
949.2 ns
237.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib_args[5]
benches/fibonacci.rs
CodSpeed Performance Gauge
+37%
385.8 ns
281.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fib_args[1]
benches/fibonacci.rs
CodSpeed Performance Gauge
+12%
302.2 ns
269.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
search_vec[100]
benches/fibonacci.rs
CodSpeed Performance Gauge
+9%
349.4 ns
320.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_from_str[String]
benches/fibonacci.rs
CodSpeed Performance Gauge
+3%
920.3 ns
891.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
search_vec[1000]
benches/fibonacci.rs
CodSpeed Performance Gauge
+1%
2.2 µs
2.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_parse_json[10]
benches/fibonacci.rs
CodSpeed Performance Gauge
+1%
23.4 µs
23.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
search_vec[10000]
benches/fibonacci.rs
CodSpeed Performance Gauge
0%
20.4 µs
20.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
async_sleep_bench
benches/fibonacci.rs
CodSpeed Performance Gauge
0%
48.6 µs
48.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_parse_json[100]
benches/fibonacci.rs
CodSpeed Performance Gauge
0%
163.2 µs
163.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_parse_json[1000]
benches/fibonacci.rs
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_bubble_sort[10000]
benches/sorting.rs
CodSpeed Performance Gauge
0%
195.6 ms
195.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_bubble_sort[100]
benches/sorting.rs
CodSpeed Performance Gauge
0%
20.1 µs
20.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_from_str[&str]
benches/fibonacci.rs
CodSpeed Performance Gauge
0%
120.6 ns
120.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_bubble_sort[1000]
benches/sorting.rs
CodSpeed Performance Gauge
0%
2 ms
2 ms
Commits
Click on a commit to change the comparison range
Base
main
45e5fec
+∞
perf: replace recursive fib with iterative O(n) implementation
4524443
7 days ago
by s3bc40
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs