I just upgraded to the SVN code and it got nearly 5 times faster on inserting empty documents I am now up to 390/second on the same hardware that got 80/second before. This machine does recreate_doc in 365ms in the test suite.

Server Software:        CouchDB/0.9.0a731491-incubating
Server Hostname:        127.0.0.1
Server Port:            5984

Document Path:          /test_suite_db_b
Document Length:        70 bytes

Concurrency Level:      10
Time taken for tests:   2.561 seconds
Complete requests:      1000
Failed requests:        249
  (Connect: 0, Receive: 0, Length: 249, Exceptions: 0)
Write errors:           0
Total transferred:      281715 bytes
Total POSTed:           152000
HTML transferred:       69715 bytes
Requests per second:    390.53 [#/sec] (mean)
Time per request:       25.606 [ms] (mean)
Time per request:       2.561 [ms] (mean, across all concurrent requests)
Transfer rate:          107.44 [Kbytes/sec] received
                       57.97 kb/s sent
                       165.41 kb/s total

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        0    0   0.6      0       8
Processing:     8   25  10.6     22      77
Waiting:        7   25  10.2     22      77
Total:          8   25  10.6     22      77

Percentage of the requests served within a certain time (ms)
 50%     22
 66%     24
 75%     27
 80%     28
 90%     36
 95%     52
 98%     66
 99%     68
100%     77 (longest request)


Lawrence Pit wrote:

A while back I had installed couchdb v0.8. Today I installed from the latest source (reporting 0.9.0a731428-incubating); I've set debuglevel to error. However, when I run the test suite the 0.9 version is 4 to 10 times slower for all tests compared to when I run the test suite using the 0.8 version.

There are more tests than in the past, so that should be a factor.

I'm not talking about the total time, I'm referring to the times of individual tests. Here's my test run using v0.8:

http://img.skitch.com/20090105-bmutqgq4ag9ba75ynhq6xa69nw.png

and here are the results when using v0.9 source:

http://img.skitch.com/20090105-dfff1t8ybcb1wbj8ebu44p45g1.png

So for example the test recreate_doc, which hasn't changed for months, takes 345ms using v0.8 and 4406ms using v0.9. That's more than 10 times slower. Same machine, same erlang host.

There is another thread about document insert rate, which shows the
ways people are benchmarking CouchDB. If you were able to post some
comparative benchmarks of particular operations, so we could see the
difference, I'm sure a lot of us would appreciate it
I'll post my results there, for both couchdb versions.




Cheers,
Lawrence


Reply via email to