On 5/1/09 8:14 AM, Chris Anderson wrote:
On Sun, Jan 4, 2009 at 2:45 PM, Geir Magnusson Jr.<[email protected]> wrote:
How many inserts a second can you do on your machine?
This the command I'm using to insert into the db:
ab -c 10 -n 1000 -p emptypost -T 'application/json'
http://127.0.0.1:5984/test_suite_db
With:
couchdb - Apache CouchDB 0.9.0a727004-incubating
erlang 5.6.4
Macbook Pro OS X 10.5.6
//-----
Benchmarking 127.0.0.1 (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: CouchDB/0.9.0a727004-incubating
Server Hostname: 127.0.0.1
Server Port: 5984
Document Path: /test2
Document Length: 70 bytes
Concurrency Level: 10
Time taken for tests: 171.078 seconds
Complete requests: 1000
Failed requests: 234
(Connect: 0, Receive: 0, Length: 234, Exceptions: 0)
Write errors: 0
Total transferred: 281737 bytes
Total POSTed: 142000
HTML transferred: 69737 bytes
Requests per second: 5.85 [#/sec] (mean)
Time per request: 1710.782 [ms] (mean)
Time per request: 171.078 [ms] (mean, across all concurrent requests)
Transfer rate: 1.61 [Kbytes/sec] received
0.81 kb/s sent
2.42 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.5 0 4
Processing: 272 1703 122.4 1700 2031
Waiting: 272 1703 122.4 1700 2031
Total: 273 1703 122.4 1701 2031
Percentage of the requests served within a certain time (ms)
50% 1701
66% 1734
75% 1757
80% 1777
90% 1833
95% 1877
98% 1934
99% 1967
100% 2031 (longest request)
//-----
Cheers,
Mark