Skip to content

Instantly share code, notes, and snippets.

@actsasflinn
Created March 20, 2009 04:27
Show Gist options
  • Save actsasflinn/82206 to your computer and use it in GitHub Desktop.
Save actsasflinn/82206 to your computer and use it in GitHub Desktop.
Benchmark of ruby-tokyotyrant + thin + sinatra + crazy object experiment (no caching)
$ ab -c 100 -n 1000 http://0.0.0.0:9292/1
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 0.0.0.0 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: thin
Server Hostname: 0.0.0.0
Server Port: 9292
Document Path: /1
Document Length: 62 bytes
Concurrency Level: 100
Time taken for tests: 2.960 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 197000 bytes
HTML transferred: 62000 bytes
Requests per second: 337.80 [#/sec] (mean)
Time per request: 296.037 [ms] (mean)
Time per request: 2.960 [ms] (mean, across all concurrent requests)
Transfer rate: 64.99 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.7 1 8
Processing: 64 283 40.3 295 328
Waiting: 36 254 48.0 269 308
Total: 64 285 39.6 296 330
Percentage of the requests served within a certain time (ms)
50% 296
66% 301
75% 307
80% 310
90% 316
95% 320
98% 326
99% 329
100% 330 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment