[
https://issues.apache.org/activemq/browse/AMQCPP-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39580
]
Timothy Bish commented on AMQCPP-93:
------------------------------------
Thanks.
I'm investigating something that I noticed while tuning this class. The write
method in the ByteArrayOutputStream was changed to use the vector insert
method, but when testing with the code in the decaf folder that doesn't have
this change I noticed that the code runs noticeably faster (at least twice as
fast) using the for loop / push_back code. This is on my Linux machine, not
sure yet if the same is true on Windows.
> 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.