GitHub user scop opened a pull request:
https://github.com/apache/activemq-artemis/pull/776
Stomp encode speedups
These translate to ~15% speedup of `toActiveMQBuffer()`, measured with JMH
on my system using a frame with ~20 headers.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scop/activemq-artemis stomp-encode-speedup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/776.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 #776
----
commit 8e59cf4d5fdfefc027ce26f7adb1a775738012f3
Author: Ville Skyttä <[email protected]>
Date: 2016-09-14T17:52:07Z
STOMP frame encode: Avoid StringBuilder resizing
commit 2c7c81ca9ea305ff3e34e4f0158ffbb46550dec2
Author: Ville Skyttä <[email protected]>
Date: 2016-09-14T17:53:27Z
STOMP frame encode: Use fixed buffers
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---