[
https://issues.apache.org/jira/browse/COUCHDB-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595198#action_12595198
]
Benoit Chesneau commented on COUCHDB-27:
----------------------------------------
I did more tests this afternoon and noticed something weird :
If I connect in http/1.1 i have results around 24s.
If I connect in http/1.0 or explicitly close the connection with http header
Connection:close, results down to :
docs createds in 3s
docs deleted in 1s
(doc deleted don't work anymore on last trunk).
Seem like couchdb try to reuse the socket even if the client isn't here anymore.
> performance tests on openbsd, linux, macosx on 3 machines with couchdb 7.2
> --------------------------------------------------------------------------
>
> Key: COUCHDB-27
> URL: https://issues.apache.org/jira/browse/COUCHDB-27
> Project: CouchDB
> Issue Type: Test
> Environment: OpenBSD 4.3-current, Linux 2.6.22/2.6.24, MacOSX 10.5 -
> couchdb 0.7.2 - erlang RB12.1
> Reporter: Benoit Chesneau
> Priority: Minor
> Attachments: test_couchdb.py, test_couchdb.sh
>
>
> Quick test on couchdb. It consist on creating 100 docs, fetching them and
> deleting them serially. Test was done with couchdb-python on couchdb 0.7.2
> (code attached). It appear macosx is better. I have same difference with
> test suite.
> Results OpenBSD (amd64 64 X2 Dual Core Processor 4400+ 2go of ram))
> =======================
> Create Time: 39.6011528969 secs
> Fetch Time : 19.8005139828 secs
> Delete Time : 39.6008718014ecs
> Results linux (same machine as above)
> =======================
> Create Time: 9.7383852005 secs
> Fetch Time : 3.96818208694 secs
> Delete Time : 9.25578308105ecs
> Results Linux (Intel quadcores 4 go of ram)
> =======================
> Create Time: 8.34433197975 secs
> etch Time : 4.10443782806 secs
> Delete Time : 8.70160794258 secs
> Results OSX (mac mini g4 1.5ghz)
> =======================
> Create Time: 3.89569687843 secs
> Fetch Time : 2.90024995804 secs
> Delete Time : 7.2784512043ecs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.