cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7075) Remove unnecessary string.length() and map.containsKey(...) calls to improve performance
Date Mon, 03 Oct 2016 18:05:20 GMT

    [ https://issues.apache.org/jira/browse/CXF-7075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543010#comment-15543010
] 

ASF GitHub Bot commented on CXF-7075:
-------------------------------------

GitHub user andymc12 opened a pull request:

    https://github.com/apache/cxf/pull/174

    CXF-7075: Improve performance by removing unnecessary string.length() and map.containsKey()
calls.

    

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

    $ git pull https://github.com/andymc12/cxf perf

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

    https://github.com/apache/cxf/pull/174.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 #174
    
----
commit 25aa09fe52180beb183bae3cdc18d7eb9f6807cb
Author: Andy McCright <j.andrew.mccright@gmail.com>
Date:   2016-10-03T16:30:24Z

    Merge pull request #1 from apache/master
    
    updating to master

commit 973732f2350292524a55d2dfc41aab320bb76b3c
Author: andymc12 <j.andrew.mccright@gmail.com>
Date:   2016-10-03T17:55:29Z

    Remove unnecessary str.length() and map.containsKey() calls.

----


> Remove unnecessary string.length() and map.containsKey(...) calls to improve performance
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-7075
>                 URL: https://issues.apache.org/jira/browse/CXF-7075
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 3.1.7
>            Reporter: Andy McCright
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Using a simple (echo) JAX-RS benchmark, we've found a few hot spots around string.length()
and map.containsKey(...) calls that could be optimized.  Initial testing with the proposed
changes yielded about a 2-3% improvement.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message