Skip to content
Simple benchmarking to compare Unicorn and Puma
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.rvmrc
Gemfile
README.md
api.rb
config.ru
unicorn.rb

README.md

puma-benchmarking

Benchmarking for puma.io.

Setup

Run under Unicorn or Puma in one terminal and then run the benchmarking in another terminal.

Running under Unicorn

rvm use ruby-1.9.3@puma-benchmarking --create
bundle install
unicorn -c unicorn.rb

Running under Puma

rvm use jruby-1.6.7.2@puma-benchmarking --create
bundle install
puma -t 4:4

Benchmarking with ab

ab -n 10000 -c 50 -k http://localhost:9292/health/ping
Something went wrong with that request. Please try again.