Skip to content

Commit

Permalink
add perf test
Browse files Browse the repository at this point in the history
  • Loading branch information
amitguptagwl committed Feb 10, 2019
1 parent df80733 commit 7e6996e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
File renamed without changes.
25 changes: 25 additions & 0 deletions benchmark/framework/perf_wrk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
echo "Running restana with find-my-way"
node restana-with-find-my-way.js & sleep 5;
#ab -k -n 50000 -c 100 -t 20 http://127.0.0.1:3000/this/is/static | grep "Requests per second:"
wrk -t8 -c100 -d10s "http://127.0.0.1:3000/this/is/static"
pkill -f restana-with-find-my-way.js;
sleep 3
#28k

echo "Running restana with anumargak"
node restana-with-anumargak.js & sleep 5;
#ab -k -n 50000 -c 100 -t 20 http://127.0.0.1:3001/this/is/static | grep "Requests per second:"
wrk -t8 -c100 -d10s "http://127.0.0.1:3001/this/is/static"
pkill -f restana-with-anumargak.js;
sleep 3
#27k


echo "Running muneem"
node muneem.js & sleep 5;
#ab -k -n 50000 -c 100 -t 20 http://127.0.0.1:3002/this/is/static | grep "Requests per second:"
wrk -t8 -c100 -d10s "http://127.0.0.1:3002/this/is/static"
pkill -f muneem.js;
sleep 3
#27k

0 comments on commit 7e6996e

Please sign in to comment.