mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Update README
This commit is contained in:
parent
edfcdb171c
commit
ef1ac8a0cb
@ -99,8 +99,8 @@ List the available file in the DO Space:
|
|||||||
./benchmarks/script/list.sh
|
./benchmarks/script/list.sh
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
2021-05-31 14:40 279890 s3://milli-benchmarks/critcmp_results/songs_main_09a4321.json
|
songs_main_09a4321.json
|
||||||
2021-05-31 13:49 279576 s3://milli-benchmarks/critcmp_results/songs_geosearch_24ec456.json
|
songs_geosearch_24ec456.json
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the comparison script:
|
Run the comparison script:
|
||||||
|
@ -21,9 +21,9 @@ if [[ $# -ne 2 ]]
|
|||||||
then
|
then
|
||||||
echo 'Need 2 arguments.'
|
echo 'Need 2 arguments.'
|
||||||
echo 'Usage: '
|
echo 'Usage: '
|
||||||
echo ' $ bash compare.sh file_to_download1 file_to_download2'
|
echo ' $ ./compare.sh file_to_download1 file_to_download2'
|
||||||
echo 'Ex:'
|
echo 'Ex:'
|
||||||
echo ' $ bash compare.sh songs_main_09a4321.json songs_geosearch_24ec456.json'
|
echo ' $ ./compare.sh songs_main_09a4321.json songs_geosearch_24ec456.json'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ file2_local_path="/tmp/$file2"
|
|||||||
if [[ ! -f "$file1_local_path" ]]; then
|
if [[ ! -f "$file1_local_path" ]]; then
|
||||||
curl "$file1_s3_url" -O "$file1_local_path"
|
curl "$file1_s3_url" -O "$file1_local_path"
|
||||||
if [[ "$?" -ne 0 ]]; then
|
if [[ "$?" -ne 0 ]]; then
|
||||||
echo 'curl command failed. Check your configuration'
|
echo 'curl command failed.'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -48,7 +48,7 @@ fi
|
|||||||
if [[ ! -f "$file2_local_path" ]]; then
|
if [[ ! -f "$file2_local_path" ]]; then
|
||||||
curl "$file2_s3_url" -O "$file2_local_path"
|
curl "$file2_s3_url" -O "$file2_local_path"
|
||||||
if [[ "$?" -ne 0 ]]; then
|
if [[ "$?" -ne 0 ]]; then
|
||||||
echo 'curl command failed. Check your configuration'
|
echo 'curl command failed.'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user