Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 47648 invoked from network); 25 Jun 2007 19:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2007 19:51:54 -0000 Received: (qmail 95769 invoked by uid 500); 25 Jun 2007 19:51:57 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95750 invoked by uid 500); 25 Jun 2007 19:51:57 -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 95741 invoked by uid 99); 25 Jun 2007 19:51:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 12:51:57 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 12:51:53 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 33F0071418F for ; Mon, 25 Jun 2007 12:51:33 -0700 (PDT) Message-ID: <14280679.1182801093208.JavaMail.jira@brutus> Date: Mon, 25 Jun 2007 12:51:33 -0700 (PDT) From: "Gerald Kaas (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-93) Performance analysis In-Reply-To: <20942071.1174226494454.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39517 ] Gerald Kaas commented on AMQCPP-93: ----------------------------------- I'm not sure why you want to get rid of the Endian class. The WORDS_BIGENDIAN macro can be replaced with... const int t1 = 1; const char* const t2 = (const char* const) &a; if (t1 != *t2) { .... All modern compilers will optimize this to choose either one branch or the other. But, it probably would make sense to move the code from Endian.cpp to Endian.h. That way the compiler can inline the code at compile time rather than link time. > Performance analysis > -------------------- > > Key: AMQCPP-93 > URL: https://issues.apache.org/activemq/browse/AMQCPP-93 > Project: ActiveMQ C++ Client > Issue Type: Task > Affects Versions: 2.0 > Reporter: Nathan Mittler > Assignee: Nathan Mittler > Fix For: 2.2 > > Attachments: amqcpp-perf1.patch, amqcpp-perf1v2.patch, bench1.cpp, bench2.cpp, DataInputStream.patch, DataOutputStreamv0.patch, patch Results.xls > > > Do a performance analysis on openwire vs stomp. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.