Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A6E8200B80 for ; Wed, 14 Sep 2016 19:59:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0922E160AB4; Wed, 14 Sep 2016 17:59:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 78614160AB3 for ; Wed, 14 Sep 2016 19:59:50 +0200 (CEST) Received: (qmail 15679 invoked by uid 500); 14 Sep 2016 17:59:49 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 15660 invoked by uid 99); 14 Sep 2016 17:59:49 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 17:59:49 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2772FE01BD; Wed, 14 Sep 2016 17:59:49 +0000 (UTC) From: scop To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org Message-ID: Subject: [GitHub] activemq-artemis pull request #776: Stomp encode speedups Content-Type: text/plain Date: Wed, 14 Sep 2016 17:59:49 +0000 (UTC) archived-at: Wed, 14 Sep 2016 17:59:51 -0000 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ä Date: 2016-09-14T17:52:07Z STOMP frame encode: Avoid StringBuilder resizing commit 2c7c81ca9ea305ff3e34e4f0158ffbb46550dec2 Author: Ville Skyttä 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---