Skip to content

Commit

Permalink
Start of a benchmark folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Oct 2, 2019
1 parent 6bb070b commit 0bbb495
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions benchmarks/wrk/hello.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# You are encouraged to use @ioquatix's wrk fork, located here: https://github.com/ioquatix/wrk

bundle exec bin/puma -t 5 test/rackup/hello.ru &
PID1=$!
sleep 5
wrk -c 5 --latency http://localhost:9292

kill $PID1
6 changes: 6 additions & 0 deletions benchmarks/wrk/more_conns_than_threads.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bundle exec bin/puma -t 5 test/rackup/hello.ru &
PID1=$!
sleep 5
wrk -c 10 --latency http://localhost:9292

kill $PID1

0 comments on commit 0bbb495

Please sign in to comment.