Comment 2 for bug 817656

Revision history for this message
Jason Gerard DeRose (jderose) wrote : Re: Please merge couchdb 1.1.0-1 (main) from Debian unstable (main)

So following chipaca's advice, I've built and installed 1.1.0. I've been beating up on it with the dmedia unit tests. I haven't encountered any failures, but there seems to be a dramatic performance regression in 1.1.0.

For example, from 1.0.1 (plus Ubuntu patches) to this 1.1.0 package:

Microfiber benchmark: 198 => 24.5 ops/second

PyCouchDB benchmark: 55.3 => 18.4 ops/second

== Running against CouchDB 1.0.1 ==

jderose@jgd-test:~/bzr/microfiber/trunk$ python3 benchmark_microfiber.py
*** Benchmarking microfiber ***
Python: 3.2.2rc1, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_microfiber'...
    Seconds: 12.10
    Saves per second: 165.2
  Getting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 6.21
    Gets per second: 321.9
  Deleting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 11.99
    Deletes per second: 166.8
Total seconds: 30.30
Total ops per second: 198.0

jderose@jgd-test:~/bzr/microfiber/trunk$ python benchmark_pycouchdb.py
*** Benchmarking python-couchdb ***
Python: 2.7.2+, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_pycouchdb'...
    Seconds: 83.59
    Saves per second: 23.9
  Getting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 10.99
    Gets per second: 182.1
  Deleting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 13.92
    Deletes per second: 143.7
Total seconds: 108.50
Total ops per second: 55.3

== Running against CouchDB 1.1.0 ==

jderose@jgd-test:~/bzr/microfiber/trunk$ ./benchmark_microfiber.py
*** Benchmarking microfiber ***
Python: 3.2.2rc1, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_microfiber'...
    Seconds: 82.96
    Saves per second: 24.1
  Getting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 80.03
    Gets per second: 25.0
  Deleting 2000 documents from db 'test_benchmark_microfiber'...
    Seconds: 82.34
    Deletes per second: 24.3
Total seconds: 245.33
Total ops per second: 24.5

jderose@jgd-test:~/bzr/microfiber/trunk$ ./benchmark_pycouchdb.py
*** Benchmarking python-couchdb ***
Python: 2.7.2+, x86_64, Linux
  Saving 2000 documents in db 'test_benchmark_pycouchdb'...
    Seconds: 161.63
    Saves per second: 12.4
  Getting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 80.52
    Gets per second: 24.8
  Deleting 2000 documents from db 'test_benchmark_pycouchdb'...
    Seconds: 83.73
    Deletes per second: 23.9
Total seconds: 325.88
Total ops per second: 18.4