Desmond Yeung created HTTPCORE-608:
--------------------------------------

             Summary: Performance Regression with SessionInputBufferImpl
                 Key: HTTPCORE-608
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-608
             Project: HttpComponents HttpCore
          Issue Type: Bug
    Affects Versions: 5.0-beta9
            Reporter: Desmond Yeung


I recently started testing client 5.0-beta6 and I'm seeing very noticeable 
performance regressions with 5.0-beta6 over 5.0-beta5. In my application, I 
normally maintain ~100MB/s down. 5.0-beta6 seems to be struggling to maintain 
1MB/s. 

I tracked it down to this commit
https://github.com/apache/httpcomponents-core/commit/fd2d0c2004e858d4f30aad5cf64f19045005811c

I don't fully understand the change, but profiling shows that expandCapacity is 
always being triggered and copying/resizing the buffer.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to