cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Pouzac (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6189) Improve memory usage of UrlUtils
Date Thu, 08 Jan 2015 15:57:35 GMT

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

Lucas Pouzac commented on CXF-6189:
-----------------------------------

like that ?
{code:java}
    public static String urlDecode(String value, String enc) {
        try {
            if (value.contains("+") || value.contains("%")) {
                value = URLDecoder.decode(value, enc);
            }
        } catch (UnsupportedEncodingException e) {
            LOG.warning("UTF-8 encoding can not be used to dec    ode " + value);
        }
        return value;
    }
{code}

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

Mime
View raw message