Skip to content

Instantly share code, notes, and snippets.

@nicksieger
Created August 28, 2008 21:01
Show Gist options
  • Save nicksieger/7821 to your computer and use it in GitHub Desktop.
Save nicksieger/7821 to your computer and use it in GitHub Desktop.
$ ab -n 1000 -c 4 http://localhost:8080/sillytestapp/greetings
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (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
Finished 1000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /sillytestapp/greetings
Document Length: 41 bytes
Concurrency Level: 4
Time taken for tests: 13.667604 seconds
Complete requests: 1000
Failed requests: 13
(Connect: 0, Length: 13, Exceptions: 0)
Write errors: 0
Non-2xx responses: 13
Total transferred: 372881 bytes
HTML transferred: 52778 bytes
Requests per second: 73.17 [#/sec] (mean)
Time per request: 54.670 [ms] (mean)
Time per request: 13.668 [ms] (mean, across all concurrent requests)
Transfer rate: 26.63 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 18
Processing: 16 53 20.8 50 217
Waiting: 16 53 20.8 49 216
Total: 16 54 20.8 50 218
Percentage of the requests served within a certain time (ms)
50% 50
66% 58
75% 64
80% 67
90% 80
95% 92
98% 112
99% 126
100% 218 (longest request)
NoMethodError (undefined method `collect!' for nil:NilClass):
/vendor/rails/activerecord/lib/active_record/base.rb:608:in `find_by_sql'
/vendor/rails/activerecord/lib/active_record/base.rb:1415:in `find_every'
/vendor/rails/activerecord/lib/active_record/base.rb:562:in `find'
/app/controllers/greetings_controller.rb:3:in `index'
/vendor/rails/actionpack/lib/action_controller/base.rb:1187:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/Users/nicksieger/Projects/sunw/kenai/vendor/glassfish-v2ur1/domains/domain1/generated/jsp/j2ee-modules/sillytestapp/loader/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:205:in `perform_action_with_rescue'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action_with_caching'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action_with_caching'
/vendor/rails/actionpack/lib/action_controller/base.rb:546:in `process'
/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process_with_session_management_support'
/vendor/rails/actionpack/lib/action_controller/base.rb:409:in `process'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:151:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:116:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:33:in `dispatch'
/Users/nicksieger/Projects/sunw/kenai/vendor/glassfish-v2ur1/domains/domain1/generated/jsp/j2ee-modules/sillytestapp/loader/rack/adapter/rails.rb:37:in `serve_rails'
/Users/nicksieger/Projects/sunw/kenai/vendor/glassfish-v2ur1/domains/domain1/generated/jsp/j2ee-modules/sillytestapp/loader/rack/adapter/rails.rb:44:in `call'
/Users/nicksieger/Projects/sunw/kenai/vendor/glassfish-v2ur1/domains/domain1/generated/jsp/j2ee-modules/sillytestapp/loader/jruby/rack/rails.rb:145:in `call'
/Users/nicksieger/Projects/sunw/kenai/vendor/glassfish-v2ur1/domains/domain1/generated/jsp/j2ee-modules/sillytestapp/loader/rack/handler/servlet.rb:17:in `call'
:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment