Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating README. Added .gitignore

  • Loading branch information...
commit eecbe7b412bd5f6b45a4953920993014cb11d638 1 parent b5167a1
@czarneckid authored
Showing with 10 additions and 38 deletions.
  1. +0 −35 Gemfile.lock
  2. +10 −3 README.md
View
35 Gemfile.lock
@@ -1,35 +0,0 @@
-GIT
- remote: git://github.com/intridea/grape.git
- revision: bed7867558ea2117824c85a043f77116ea95afd3
- branch: frontier
- specs:
- grape (0.2.0)
- hashie (~> 1.2)
- multi_json
- multi_xml
- rack
- rack-mount
-
-GEM
- remote: http://rubygems.org/
- specs:
- hashie (1.2.0)
- kgio (2.7.4)
- multi_json (1.3.6)
- multi_xml (0.5.1)
- rack (1.4.1)
- rack-mount (0.8.3)
- rack (>= 1.0.0)
- raindrops (0.9.0)
- unicorn (4.3.1)
- kgio (~> 2.6)
- rack
- raindrops (~> 0.7)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- grape!
- puma
- unicorn
View
13 README.md
@@ -4,19 +4,26 @@ Benchmarking for [puma.io](http://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
+
```
-ab -n 10000 -c 50 -k http://localhost:9292/health/ping
+rvm use jruby-1.6.7.2@puma-benchmarking --create
+bundle install
+puma -t 4:4
```
-## Running under Puma
+## Benchmarking with ab
```
-rvm use jruby-1.6.7.2@puma-benchmarking --create
+ab -n 10000 -c 50 -k http://localhost:9292/health/ping
```
Please sign in to comment.
Something went wrong with that request. Please try again.