mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-17 08:10:14 +08: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"
|