Skip to content

Instantly share code, notes, and snippets.

@jfarmer
Created February 6, 2009 06:41
Show Gist options
  • Select an option

  • Save jfarmer/59255 to your computer and use it in GitHub Desktop.

Select an option

Save jfarmer/59255 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'sinatra'
set :environment, :production
disable :run, :reload
get '/' do
"Hey"
end
run Sinatra::Application
Document Path: /
Document Length: 3 bytes
Concurrency Level: 150
Time taken for tests: 3.22370 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 144000 bytes
HTML transferred: 3000 bytes
Requests per second: 330.87 [#/sec] (mean)
Time per request: 453.355 [ms] (mean)
Time per request: 3.022 [ms] (mean, across all concurrent requests)
Transfer rate: 46.32 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.5 0 9
Processing: 6 127 497.0 35 3011
Waiting: 4 127 497.0 35 3010
Total: 6 128 497.9 35 3020
Percentage of the requests served within a certain time (ms)
50% 35
66% 48
75% 63
80% 63
90% 67
95% 68
98% 3010
99% 3019
100% 3020 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment