mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
remove the time limitation to let criterion do what it wants
This commit is contained in:
parent
5d5d115608
commit
7c7fba4e57
@ -95,7 +95,6 @@ pub fn run_benches(c: &mut criterion::Criterion, confs: &[Conf]) {
|
|||||||
let index = base_setup(conf);
|
let index = base_setup(conf);
|
||||||
|
|
||||||
let mut group = c.benchmark_group(&format!("{}: {}", conf.dataset, conf.group_name));
|
let mut group = c.benchmark_group(&format!("{}: {}", conf.dataset, conf.group_name));
|
||||||
group.measurement_time(Duration::from_secs(10));
|
|
||||||
|
|
||||||
for &query in conf.queries {
|
for &query in conf.queries {
|
||||||
group.bench_with_input(BenchmarkId::from_parameter(query), &query, |b, &query| {
|
group.bench_with_input(BenchmarkId::from_parameter(query), &query, |b, &query| {
|
||||||
|
Loading…
Reference in New Issue
Block a user