mirror of
https://github.com/themasch/nginx-log-parser.git
synced 2025-06-17 17:28:51 +00:00
chore(fmt): cargo fmt
This commit is contained in:
@ -8,9 +8,7 @@ use std::str::FromStr;
|
||||
|
||||
fn format_parser_bench(c: &mut Criterion) {
|
||||
c.bench_function("short format", |b| {
|
||||
b.iter(|| {
|
||||
Format::from_str(r#"$remote_addr [$time_local] "$request" $status"#)
|
||||
})
|
||||
b.iter(|| Format::from_str(r#"$remote_addr [$time_local] "$request" $status"#))
|
||||
});
|
||||
c.bench_function("combined format", |b| {
|
||||
b.iter(|| {
|
||||
|
Reference in New Issue
Block a user