evenfurther
pathfinding
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: reduce allocations in pathfinding hot paths
#720
Closed
Comparing
copilot/suggest-performance-improvements
(
6aafd93
) with
main
(
f1d662c
)
CodSpeed Performance Gauge
-23%
Improvement
2
Regression
1
Untouched
35
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
38 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_astar
benches/algos-fill.rs::benches::corner_to_corner_astar
CodSpeed Performance Gauge
-23%
98.1 µs
127.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
separate_components
benches/algos.rs::benches::bench_separate_components
CodSpeed Performance Gauge
×2
2.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
separate_components
benches/separate_components.rs::benches::bench_separate_components
CodSpeed Performance Gauge
+16%
7.4 ms
6.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_path_dfs
benches/algos.rs::benches::no_path_dfs
CodSpeed Performance Gauge
+5%
1.3 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_path_bfs
benches/algos.rs::benches::no_path_bfs
CodSpeed Performance Gauge
+5%
1.3 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
corner_to_corner_astar
benches/algos.rs::benches::corner_to_corner_astar
CodSpeed Performance Gauge
+3%
76.8 µs
74.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
corner_to_corner_dijkstra
benches/algos.rs::benches::corner_to_corner_dijkstra
CodSpeed Performance Gauge
+2%
1.4 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_fringe
benches/algos-fill.rs::benches::corner_to_corner_fringe
CodSpeed Performance Gauge
+2%
108.7 µs
106.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_dijkstra
benches/algos-fill.rs::benches::corner_to_corner_dijkstra
CodSpeed Performance Gauge
+1%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_path_fringe
benches/algos.rs::benches::no_path_fringe
CodSpeed Performance Gauge
+1%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
arena
benches/movingai.rs::benches::arena
CodSpeed Performance Gauge
0%
43.9 ms
43.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_path_bfs_bidirectional
benches/algos.rs::benches::no_path_bfs_bidirectional
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_idastar
benches/algos-fill.rs::benches::corner_to_corner_idastar
CodSpeed Performance Gauge
0%
228.6 µs
228 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_path_astar
benches/algos.rs::benches::no_path_astar
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_dfs
benches/algos-fill.rs::benches::corner_to_corner_dfs
CodSpeed Performance Gauge
0%
3.5 ms
3.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-no_path_dijkstra
benches/algos-fill.rs::benches::no_path_dijkstra
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-no_path_bfs
benches/algos-fill.rs::benches::no_path_bfs
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-corner_to_corner_bfs
benches/algos-fill.rs::benches::corner_to_corner_bfs
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compare kuhn_munkres with different input sizes[512]
benches/kuhn_munkres.rs::benches::compare_size
CodSpeed Performance Gauge
0%
455 ms
455 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compare kuhn_munkres with different input sizes[256]
benches/kuhn_munkres.rs::benches::compare_size
CodSpeed Performance Gauge
0%
19.4 ms
19.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transpose
benches/matrices.rs::benches::transpose_benchmark
CodSpeed Performance Gauge
0%
40.9 µs
40.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compare kuhn_munkres with different input sizes[128]
benches/kuhn_munkres.rs::benches::compare_size
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wikipedia_example_sparse
benches/edmondskarp.rs::benches::wikipedia_example_sparse
CodSpeed Performance Gauge
0%
45.5 µs
45.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fill-no_path_dfs
benches/algos-fill.rs::benches::no_path_dfs
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Compare kuhn_munkres with different input sizes[64]
benches/kuhn_munkres.rs::benches::compare_size
CodSpeed Performance Gauge
0%
507 µs
507 µs
1
2
Commits
Click on a commit to change the comparison range
Base
main
f1d662c
-23.17%
perf: pre-allocate BinaryHeap in astar_bag
6aafd93
3 months ago
by Copilot
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs