From 951f0bcb102891b9dfad0fdd63c3cd1d112d2a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 29 Nov 2019 12:28:46 +0100 Subject: [PATCH] sqaush-me: Improve benchmarks naming --- meilisearch-core/benches/search_benchmark.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-core/benches/search_benchmark.rs b/meilisearch-core/benches/search_benchmark.rs index 506bc8950..568442ea0 100644 --- a/meilisearch-core/benches/search_benchmark.rs +++ b/meilisearch-core/benches/search_benchmark.rs @@ -78,11 +78,11 @@ pub fn criterion_benchmark(c: &mut Criterion) { query.get(0..count) }); - let mut group = c.benchmark_group("searching in movies"); + let mut group = c.benchmark_group("searching in movies (19654 docs)"); group.sample_size(10); for query in iter { - let bench_name = BenchmarkId::new("query", format!("{:?}", query)); + let bench_name = BenchmarkId::from_parameter(format!("{:?}", query)); group.bench_with_input(bench_name, &query, |b, query| b.iter(|| { let builder = index.query_builder(); builder.query(&reader, query, 0..20).unwrap();