mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 18:45:06 +08:00
Merge #298
298: Rename the search benchmarks r=Kerollmops a=irevoire And fix a bug. As always, I was not closing the env. Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
cb45a10bcd
4
.github/workflows/benchmarks.yml
vendored
4
.github/workflows/benchmarks.yml
vendored
@ -4,9 +4,9 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
dataset_name:
|
dataset_name:
|
||||||
description: 'The name of the dataset used to benchmark (songs, wiki or indexing)'
|
description: 'The name of the dataset used to benchmark (search_songs, search_wiki or indexing)'
|
||||||
required: false
|
required: false
|
||||||
default: 'songs'
|
default: 'search_songs'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
HOME: "/home/runner" # The actions-rs/toolchain@v1 can fail we have no $HOME defined
|
HOME: "/home/runner" # The actions-rs/toolchain@v1 can fail we have no $HOME defined
|
||||||
|
@ -22,11 +22,11 @@ convert_case = "0.4"
|
|||||||
reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls"], default-features = false }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "songs"
|
name = "search_songs"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "wiki"
|
name = "search_wiki"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
@ -115,5 +115,7 @@ pub fn run_benches(c: &mut criterion::Criterion, confs: &[Conf]) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
group.finish();
|
group.finish();
|
||||||
|
|
||||||
|
index.prepare_for_closing().wait();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user