mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-06-01 02:18:03 +02:00
15 lines
283 B
Bash
15 lines
283 B
Bash
|
#!/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"
|