You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Desmond Yeung (Jira)" <ji...@apache.org> on 2019/10/18 20:27:00 UTC

[jira] [Created] (HTTPCORE-608) Performance Regression with SessionInputBufferImpl

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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org