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] [Updated] (CXF-6189) Improve memory usage of UrlUtils
Date Fri, 09 Jan 2015 16:22:35 GMT

     [ https://issues.apache.org/jira/browse/CXF-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lucas Pouzac updated CXF-6189:
------------------------------
    Attachment: jmh.tar.gz

I explain later :)

{code}
# Run complete. Total time: 00:07:34

Benchmark                                                                                
        Mode  Samples       Score       Error   Units
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodec                                          
       thrpt       60  417938,761 ±  6580,048   ops/s
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodec:@gc.count.profiled                       
       thrpt       60    1413,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodec:@gc.count.total                          
       thrpt       60     953,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodec:@gc.time.profiled                        
       thrpt       60    5418,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodec:@gc.time.total                           
       thrpt       60    3676,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBuffer                            
       thrpt       60  484708,137 ± 14683,347   ops/s
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBuffer:@gc.count.profiled         
       thrpt       60    1321,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBuffer:@gc.count.total            
       thrpt       60     900,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBuffer:@gc.time.profiled          
       thrpt       60    4933,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBuffer:@gc.time.total             
       thrpt       60    3383,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBufferAndCharBuffer               
       thrpt       60  676093,489 ± 12207,746   ops/s
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBufferAndCharBuffer:@gc.count.profiled
   thrpt       60     931,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBufferAndCharBuffer:@gc.count.total
      thrpt       60     618,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBufferAndCharBuffer:@gc.time.profiled
    thrpt       60    3114,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsApacheCodecWithByteBufferAndCharBuffer:@gc.time.total
       thrpt       60    2115,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsCXF3_0_3                                             
       thrpt       60  252031,609 ±  6479,793   ops/s
o.a.c.UrlUtilsBenchmark.testDecodeAsCXF3_0_3:@gc.count.profiled                          
       thrpt       60    1527,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsCXF3_0_3:@gc.count.total                             
       thrpt       60     994,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsCXF3_0_3:@gc.time.profiled                           
       thrpt       60    5195,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsCXF3_0_3:@gc.time.total                              
       thrpt       60    3454,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsMarkUtilsCodec                                       
       thrpt       60  549886,027 ± 15235,738   ops/s
o.a.c.UrlUtilsBenchmark.testDecodeAsMarkUtilsCodec:@gc.count.profiled                    
       thrpt       60     871,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsMarkUtilsCodec:@gc.count.total                       
       thrpt       60     598,000 ±       NaN  counts
o.a.c.UrlUtilsBenchmark.testDecodeAsMarkUtilsCodec:@gc.time.profiled                     
       thrpt       60    3086,000 ±       NaN      ms
o.a.c.UrlUtilsBenchmark.testDecodeAsMarkUtilsCodec:@gc.time.total                        
       thrpt       60    2162,000 ±       NaN      ms
{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: 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)

Mime
View raw message