mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
2b8ec676d3
commit
001ef47633
|
@ -6,7 +6,9 @@ fn compare_quoters(c: &mut Criterion) {
|
|||
let mut group = c.benchmark_group("Compare Quoters");
|
||||
|
||||
let quoter = actix_router::Quoter::new(b"", b"");
|
||||
let path_quoted = (0..=0x7f).map(|c| format!("%{:02X}", c)).collect::<String>();
|
||||
let path_quoted = (0..=0x7f)
|
||||
.map(|c| format!("%{:02X}", c))
|
||||
.collect::<String>();
|
||||
let path_unquoted = ('\u{00}'..='\u{7f}').collect::<String>();
|
||||
|
||||
group.bench_function("quoter_unquoted", |b| {
|
||||
|
|
Loading…
Reference in New Issue