mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25: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:
|
||||
inputs:
|
||||
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
|
||||
default: 'songs'
|
||||
default: 'search_songs'
|
||||
|
||||
env:
|
||||
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 }
|
||||
|
||||
[[bench]]
|
||||
name = "songs"
|
||||
name = "search_songs"
|
||||
harness = false
|
||||
|
||||
[[bench]]
|
||||
name = "wiki"
|
||||
name = "search_wiki"
|
||||
harness = false
|
||||
|
||||
[[bench]]
|
||||
|
@ -115,5 +115,7 @@ pub fn run_benches(c: &mut criterion::Criterion, confs: &[Conf]) {
|
||||
});
|
||||
}
|
||||
group.finish();
|
||||
|
||||
index.prepare_for_closing().wait();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user