-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbenchmark-2-http.sh
executable file
·29 lines (23 loc) · 1.24 KB
/
benchmark-2-http.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
set -e
for value in {1..500}
do
# HTTP application
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/128 > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/512 > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/1024 > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/1769 > /dev/null &
wait
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/128-arm > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/512-arm > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/1024-arm > /dev/null &
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/1769-arm > /dev/null &
wait
curl --silent https://4qv4pt37t4.execute-api.us-east-2.amazonaws.com/1024-container > /dev/null &
wait
curl --silent https://2ssqzwaiek.execute-api.us-east-2.amazonaws.com/1024 > /dev/null &
curl --silent https://2ssqzwaiek.execute-api.us-east-2.amazonaws.com/1024-arm > /dev/null &
curl --silent https://2ssqzwaiek.execute-api.us-east-2.amazonaws.com/1024-container > /dev/null &
wait
sleep 1
done