From ef1ac8a0cb9c0ef39f220bd553dbc02d0450f167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 1 Jun 2021 18:57:35 +0200 Subject: [PATCH] Update README --- benchmarks/README.md | 4 ++-- benchmarks/scripts/compare.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/README.md b/benchmarks/README.md index caa4e163f..ebe8eecdf 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -99,8 +99,8 @@ List the available file in the DO Space: ./benchmarks/script/list.sh ``` ```bash -2021-05-31 14:40 279890 s3://milli-benchmarks/critcmp_results/songs_main_09a4321.json -2021-05-31 13:49 279576 s3://milli-benchmarks/critcmp_results/songs_geosearch_24ec456.json +songs_main_09a4321.json +songs_geosearch_24ec456.json ``` Run the comparison script: diff --git a/benchmarks/scripts/compare.sh b/benchmarks/scripts/compare.sh index 6f8d0c5af..067772bec 100755 --- a/benchmarks/scripts/compare.sh +++ b/benchmarks/scripts/compare.sh @@ -21,9 +21,9 @@ if [[ $# -ne 2 ]] then echo 'Need 2 arguments.' echo 'Usage: ' - echo ' $ bash compare.sh file_to_download1 file_to_download2' + echo ' $ ./compare.sh file_to_download1 file_to_download2' 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 fi @@ -38,7 +38,7 @@ file2_local_path="/tmp/$file2" if [[ ! -f "$file1_local_path" ]]; then curl "$file1_s3_url" -O "$file1_local_path" if [[ "$?" -ne 0 ]]; then - echo 'curl command failed. Check your configuration' + echo 'curl command failed.' exit 1 fi else @@ -48,7 +48,7 @@ fi if [[ ! -f "$file2_local_path" ]]; then curl "$file2_s3_url" -O "$file2_local_path" if [[ "$?" -ne 0 ]]; then - echo 'curl command failed. Check your configuration' + echo 'curl command failed.' exit 1 fi else