You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by MarcinLachowicz <gi...@git.apache.org> on 2017/06/15 22:14:09 UTC

[GitHub] camel pull request #1767: CAMEL-11149 Maps JMH benchmarks: add complex cases...

GitHub user MarcinLachowicz opened a pull request:

    https://github.com/apache/camel/pull/1767

    CAMEL-11149 Maps JMH benchmarks: add complex cases for various header…

    … maps impl, tweak jmh config to produce readable results, fix checkstyle issue in SimpleMockTest.
    
    I've tweak JMH config a bit to get more readable results. It is ok, to use only one _mode_(SampleTime)_ in this case. Here are my results:
    
    ```
    Benchmark                                                                         Mode  Cnt     Score    Error  Units
    CaseInsensitiveMapTest.camelMapComplexCase                                      sample   15  1974.678 ± 31.294  ms/op
    CaseInsensitiveMapTest.camelMapSimpleCase                                       sample  236   107.242 ±  1.821  ms/op
    CaseInsensitiveMapTest.cedarsoftMapComplexCase                                  sample   20  1400.898 ± 23.216  ms/op
    CaseInsensitiveMapTest.cedarsoftMapSimpleCase                                   sample  221   113.891 ±  0.585  ms/op
    CaseInsensitiveMapTest.hashMapComplexCase                                       sample   55   495.986 ±  2.844  ms/op
    CaseInsensitiveMapTest.hashMapSimpleCase                                        sample  910    27.537 ±  0.156  ms/op
    
    ```

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

    $ git pull https://github.com/MarcinLachowicz/camel CAMEL-11149-maps-jmh-benchmarks

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

    https://github.com/apache/camel/pull/1767.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 #1767
    
----
commit 808e17614651bb8656a603c39a96eabe24c94315
Author: Marcin Lachowicz <la...@gmail.com>
Date:   2017-06-15T22:05:52Z

    CAMEL-11149 Maps JMH benchmarks: add complex cases for various header maps impl, tweak jmh config to produce readable results, fix checkstyle issue in SimpleMockTest

----


---
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.
---

[GitHub] camel pull request #1767: CAMEL-11149 Maps JMH benchmarks: add complex cases...

Posted by MarcinLachowicz <gi...@git.apache.org>.
Github user MarcinLachowicz closed the pull request at:

    https://github.com/apache/camel/pull/1767


---
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.
---