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

Sergey Beryozkin commented on CXF-6189:
---------------------------------------

I recall awhile back I saw RestEasy and Oltu using the same code for 
encoding/decoding - perhaps there's some other Apache Library is available 
somewhere where that code has been copied from ? Ultimately this can be tuned 
by introducing a custom encoding/decoding function with some hard-coded tables. 
How about experimenting with the following: run via UrlDecoder only if a String 
contains '%' or '+', for query parameters for a start ? At least we'd save on 
cases where the parameter has no percent-encoded symbols ?

> Improve memory usage of UrlUtils
> --------------------------------
>
>                 Key: CXF-6189
>                 URL: https://issues.apache.org/jira/browse/CXF-6189
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.3
>            Reporter: Lucas Pouzac
>              Labels: performance
>         Attachments: screenshot-1.png
>
>
> When I run load test, I find that the management of encoding parameters of 
> the urls is consumer memory.
> I do not know if it is possible to optimize this part.
> Throughput of load test : 400 query/s
> ~80% GET query with 6 parameters
> ~20% POST query with 6 parameters GET and 1 payload



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

Reply via email to