[
https://issues.apache.org/jira/browse/CXF-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275121#comment-14275121
]
Sergey Beryozkin commented on CXF-6189:
---------------------------------------
Hi, applied your patch with minor modifications, have a look please.
I think we may still optimize it a little bit; can you give me a favor and
experiment with what is faster for values which have no % characters:
effectively do a copy as we do now or check if '%' is there and if not then
just return String. Perhaps it is obvious the 2nd option is faster, though it
would make it a bit slower to decode %-encoded values, but given that it is 80%
case for non-encoded values then may be we should do a check after all, at
least for Path parameters...
> 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: jmh.tar.gz, 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)