GitHub user ctron opened a pull request:
https://github.com/apache/qpid-proton-j/pull/14
PROTON-1911: Improve performance of EncoderImpl#writeRaw(String)
This change uses a small thread local buffer to gather data locally
before sending it in bigger chunks to the buffer. This keeps the memory
consumption low and doesn't put more stress on the garbage collector.
But improves the performance of the method by factor 4.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ctron/qpid-proton-j feture/fix_string_perf_1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-proton-j/pull/14.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14
commit bdb202b4acc447ed5385d9712e6ba949cc84e34c
Author: Jens Reimann
Date: 2018-08-07T15:29:02Z
PROTON-1911: Improve performance of EncoderImpl#writeRaw(String)
This change uses a small thread local buffer to gather data locally
before sending it in bigger chunks to the buffer. This keeps the memory
consumption low and doesn't put more stress on the garbage collector.
But improves the performance of the method by factor 4.
---
-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org