summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-28 14:23:56 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-28 14:23:56 -0700
commit180db9c150c0d4ce2b670f83ab515ce6a10f53ed (patch)
tree2aadf85eb0f37aae8aee30ea152223d2437caffc
parent80c1bc0f339189a49a90562047f5d9def65d3f4a (diff)
Better benchmark name
-rw-r--r--benches/html_parsing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/html_parsing.rs b/benches/html_parsing.rs
index 07c1420..1f5dd10 100644
--- a/benches/html_parsing.rs
+++ b/benches/html_parsing.rs
@@ -53,7 +53,7 @@ fn bench_html_parsers(c: &mut Criterion) {
);
group.bench_with_input(
- BenchmarkId::new("Google.parse", "/q/"),
+ BenchmarkId::new("Google.parse", "q"),
include_str!("../test/google/parsing-q.html"),
|b, html| b.iter(|| Google.parse(html, &sites, limit)),
);