BlogDocs

Improve insert/delete performance(#166)

Merged
Comparing
165-optimize-insert-speed
(
4cd55d2
) with
main
(
b2d615c
)
×330
IMPROVEMENTS
2
REGRESSIONS
0
UNTOUCHED
17
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Improved

gitlab delete benchmarks/wayfind
benches/gitlab_criterion.rs::benches::delete_benchmark::gitlab delete benchmarks::gitlab delete benchmarks/wayfind
×330
6,891.9 ms
21 ms
gitlab insert benchmarks/wayfind
benches/gitlab_criterion.rs::benches::insert_benchmark::gitlab insert benchmarks::gitlab insert benchmarks/wayfind
×53
849.9 ms
16 ms

Passed

matchit benchmarks/routefinder
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/routefinder
+4%
56.5 µs
54.4 µs
path-tree benchmarks/path-tree
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/path-tree
+1%
86.4 µs
85.1 µs
path-tree benchmarks/routefinder
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/routefinder
+1%
541.7 µs
535.8 µs
matchit benchmarks/path-tree
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/path-tree
+1%
14.1 µs
14 µs
matchit benchmarks/wayfind
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/wayfind
+1%
12.6 µs
12.6 µs
path-tree benchmarks/wayfind
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/wayfind
0%
71.1 µs
70.8 µs
path-tree benchmarks/xitca-router
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/xitca-router
0%
83 µs
82.8 µs
path-tree benchmarks/route-recognizer
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/route-recognizer
0%
587.5 µs
586.7 µs
path-tree benchmarks/actix-router
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/actix-router
0%
1 ms
1 ms
matchit benchmarks/actix-router
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/actix-router
0%
183.4 µs
183.7 µs
matchit benchmarks/xitca-router
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/xitca-router
0%
12.3 µs
12.3 µs
matchit benchmarks/matchit
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/matchit
0%
10.9 µs
10.9 µs
path-tree benchmarks/ntex-router
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/ntex-router
0%
244.5 µs
245 µs
path-tree benchmarks/matchit
benches/path_tree_criterion.rs::benches::path_tree_benchmark::path-tree benchmarks::path-tree benchmarks/matchit
0%
75.2 µs
75.5 µs
matchit benchmarks/route-recognizer
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/route-recognizer
0%
42.9 µs
43.1 µs
matchit benchmarks/ntex-router
benches/matchit_criterion.rs::benches::matchit_benchmark::matchit benchmarks::matchit benchmarks/ntex-router
-1%
31.2 µs
31.7 µs
gitlab display benchmarks/wayfind
benches/gitlab_criterion.rs::benches::display_benchmark::gitlab display benchmarks::gitlab display benchmarks/wayfind
-5%
5.1 ms
5.3 ms

Commits

Click on a commit to change the comparison range
base
main
b2d615c
+32,787%
Improve insert performance
4cd55d2
2 months ago
by CathalMullan
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.