couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowalski <...@git.apache.org>
Subject [GitHub] couchdb-couch pull request: perf: increase performance of http han...
Date Tue, 02 Jun 2015 22:41:13 GMT
GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb-couch/pull/57

    perf: increase performance of http handlers

    we are avoiding lagers formatting here which happens before it
    asynchronously dispatches the event.
    
    for a /get on a document this increases perfomance ~4% and should
    apply to all http requests.
    
    Benchmarking and profiling
    ===
    
    Sadly GitHub does not allow svg uploads
    
    Before
    ---
    ![flame--second--unpatched](https://cloud.githubusercontent.com/assets/298166/7948941/0c55302c-0989-11e5-8266-8a6fc574f4c4.png)
    
    After
    ---
    ![flame--second--patched](https://cloud.githubusercontent.com/assets/298166/7948937/0751fbb4-0989-11e5-998c-cc34b723ee0e.png)
    
    Benchmark data
    ---
    http://robert-kowalski.de/assets/data/2015-06-01-erlang-perf-2/results-siege.txt


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertkowalski/couchdb-couch increse-perf-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/57.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #57
    
----
commit d2b5fce890863f7bbbf887e2c80fcf98a16230e6
Author: Robert Kowalski <rok@kowalski.gd>
Date:   2015-06-02T20:56:20Z

    perf: increase performance of http handlers
    
    we are avoiding lagers formatting here which happens before it
    asynchronously dispatches the event.
    
    for a /get on a document this increases perfomance ~4% and should
    apply to all http requests.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message