File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ smallvec = { version = "1.15.0", features = ["const_new"] }
2626[dev-dependencies ]
2727bytes = " 1"
2828actix-router = " 0.5"
29- ntex-router = " 0.5 "
29+ ntex-router = " 1.0 "
3030path-table = " 1.0"
3131route-recognizer = " 0.3"
32- matchit = " 0.7 "
32+ matchit = " 0.9 "
3333gonzales = " 0.0.3-beta"
3434futures = " 0.3"
3535rand = " 0.9"
36- criterion = { version = " 0.6 " , features = [" html_reports" ] }
36+ criterion = { version = " 0.8 " , features = [" html_reports" ] }
3737hyper = { version = " 1" , features = [" full" ] }
3838hyper-util = { version = " 0.1" , features = [" tokio" ] }
3939http-body-util = " 0.1"
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ fn bench_path_insert(c: &mut Criterion) {
5353 . bench_function ( "matchit_insert" , |b| {
5454 let mut matcher = MatchitRouter :: new ( ) ;
5555 b. iter ( || {
56- for ( i, r) in ROUTES_WITH_COLON . iter ( ) . enumerate ( ) {
56+ for ( i, r) in ROUTES_WITH_BRACES . iter ( ) . enumerate ( ) {
5757 let _ = matcher. insert ( * r, i) ;
5858 }
5959 } )
@@ -139,7 +139,7 @@ fn bench_path_find(c: &mut Criterion) {
139139 } )
140140 . bench_function ( "matchit_at" , |b| {
141141 let mut matcher = MatchitRouter :: new ( ) ;
142- for ( i, r) in ROUTES_WITH_COLON . iter ( ) . enumerate ( ) {
142+ for ( i, r) in ROUTES_WITH_BRACES . iter ( ) . enumerate ( ) {
143143 let _ = matcher. insert ( * r, i) ;
144144 }
145145 b. iter ( || {
You can’t perform that action at this time.
0 commit comments