You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/10/06 15:32:21 UTC

[jira] [Comment Edited] (CXF-7075) Remove unnecessary string.length() and map.containsKey(...) calls to improve performance

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

Sergey Beryozkin edited comment on CXF-7075 at 10/6/16 3:31 PM:
----------------------------------------------------------------

Hi Andy, thanks for all the analysis, interesting, yes, please do a bit more benchmarking and then we can finalize on either keeping the existing code as is or tweaking it a bit

Thanks, Sergey 


was (Author: sergey_beryozkin):
Hi Andy, thanks for all the analysis, interesting, yes, please do a bit more benchmarking and then we can finalize on either keeping the existing code as is or tweak it a bit

Thanks, Sergey 

> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 3.2.0, 3.1.8, 3.0.11
>
>         Attachments: JAXRSUtils-parseMediaType-perfTest.zip
>
>   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)