remove s3cmd as a dependency and provide a script to list all the available benchmarks

This commit is contained in:
Tamo 2021-06-01 14:43:47 +02:00 committed by Tamo
parent 61fe422a88
commit bc4f4ee829
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 25 additions and 12 deletions

14
benchmarks/scripts/list.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Requirements:
# - curl
# - grep
res=$(curl -s https://milli-benchmarks.fra1.digitaloceanspaces.com | grep -oP "(?<=<Key>)[^<]+" | grep -oP --color=never "(?<=^critcmp_results/).+")
for pattern in "$@"
do
res=$(echo "$res" | grep $pattern)
done
echo "$res"