Skip to content

Instantly share code, notes, and snippets.

@rgl
Created June 12, 2010 20:07
Show Gist options
  • Save rgl/436031 to your computer and use it in GitHub Desktop.
Save rgl/436031 to your computer and use it in GitHub Desktop.
$ time ab -n 100 -c 1 'http://localhost:9200/logs/_search?q=x'
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 localhost (be patient).....done
Server Software:
Server Hostname: localhost
Server Port: 9200
Document Path: /logs/_search?q=x
Document Length: 78 bytes
Concurrency Level: 1
Time taken for tests: 0.111 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 16400 bytes
HTML transferred: 7800 bytes
Requests per second: 900.90 [#/sec] (mean)
Time per request: 1.110 [ms] (mean)
Time per request: 1.110 [ms] (mean, across all concurrent requests)
Transfer rate: 144.28 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 2
Processing: 0 1 0.8 1 7
Waiting: 0 1 0.8 1 7
Total: 0 1 0.9 1 7
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 2
95% 2
98% 4
99% 7
100% 7 (longest request)
real 0m0.166s
user 0m0.000s
sys 0m0.015s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment