generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I619d6e3d1c483cb48edcec50b024e3b246839c0d
- Loading branch information
xiaosong yang
committed
Aug 28, 2024
1 parent
4e2a9b1
commit 71c6e50
Showing
34 changed files
with
398 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# run benchmark: make sure proxy and server all are running; run this script from client | ||
if [ -z "${MONOLAKE_HOME+set}" ]; then | ||
export MONOLAKE_HOME=$HOME/monolake | ||
fi | ||
|
||
if [ -z "${MONOLAKE_BENCHMARK_PROXY_IP+set}" ]; then | ||
export MONOLAKE_BENCHMARK_PROXY_IP=localhost | ||
fi | ||
|
||
if [ -z "${MONOLAKE_BENCHMARK_SERVER_IP+set}" ]; then | ||
export MONOLAKE_BENCHMARK_SERVER_IP=localhost | ||
fi | ||
|
||
cd $HOME/wrk2 | ||
|
||
# http proxy for envoy | ||
./wrk -d 1m -c 640 -t 64 -R 210000 --latency http://$MONOLAKE_BENCHMARK_PROXY_IP:8500/server2/ > http-result-4c-envoy-tiny.txt | ||
./wrk -d 1m -c 640 -t 64 -R 200000 --latency http://$MONOLAKE_BENCHMARK_PROXY_IP:8500/server3/ > http-result-4c-envoy-small.txt | ||
./wrk -d 1m -c 640 -t 64 -R 120000 --latency http://$MONOLAKE_BENCHMARK_PROXY_IP:8500/server4/ > http-result-4c-envoy-medium.txt | ||
./wrk -d 1m -c 640 -t 64 -R 10000 --latency http://$MONOLAKE_BENCHMARK_PROXY_IP:8500/server5/ > http-result-4c-envoy-large.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# run benchmark: make sure proxy and server all are running; run this script from client | ||
if [ -z "${MONOLAKE_HOME+set}" ]; then | ||
export MONOLAKE_HOME=$HOME/monolake | ||
fi | ||
|
||
if [ -z "${MONOLAKE_BENCHMARK_PROXY_IP+set}" ]; then | ||
export MONOLAKE_BENCHMARK_PROXY_IP=localhost | ||
fi | ||
|
||
if [ -z "${MONOLAKE_BENCHMARK_SERVER_IP+set}" ]; then | ||
export MONOLAKE_BENCHMARK_SERVER_IP=localhost | ||
fi | ||
|
||
cd $HOME/wrk2 | ||
|
||
# https proxy for envoy | ||
./wrk -d 1m -c 640 -t 64 -R 150000 --latency https://$MONOLAKE_BENCHMARK_PROXY_IP:5443/server2/ > https-result-4c-envoy-tiny.txt | ||
./wrk -d 1m -c 640 -t 64 -R 140000 --latency https://$MONOLAKE_BENCHMARK_PROXY_IP:5443/server3/ > https-result-4c-envoy-small.txt | ||
./wrk -d 1m -c 640 -t 64 -R 80000 --latency https://$MONOLAKE_BENCHMARK_PROXY_IP:5443/server4/ > https-result-4c-envoy-medium.txt | ||
./wrk -d 1m -c 640 -t 64 -R 10000 --latency https://$MONOLAKE_BENCHMARK_PROXY_IP:5443/server5/ > https-result-4c-envoy-large.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.