activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Kaas (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AMQCPP-93) Performance analysis
Date Mon, 18 Jun 2007 21:55:34 GMT

    [ https://issues.apache.org/activemq/browse/AMQCPP-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39446
] 

Gerald Kaas edited comment on AMQCPP-93 at 6/18/07 2:54 PM:
------------------------------------------------------------

I also have been doing some profiling of the activemq-cpp-2.0.1 tag and I am finding that
the DataInputStream class is fairly inefficient and can be greatly improved upon. Most of
the inefficiencies are in the readString and readFully methods. readString appends to the
string object one character at a time, which is very inefficient. Also, most methods are calling
readFully for one byte. It would be better to create a different method to read one byte which
would then call the read method the returns the unsigned char.

I can probably work on a patch but I have never work with an open source project before. How
do I proceed?


 was:
I also have been doing some profiling of the activemq-cpp-2.0.1 tag and I am finding that
the DataInputStream class is fairly inefficient and can be greatly improved upon. Most of
the inefficiencies are in the readString and readFully methods. readString appends to the
string object one character at a time, which is very inefficient. Also, most methods are calling
readFully for one byte. It would be better to create a different method to read one byte which
would then call the read method the returns the unsigned char.

I can probably work on a patch but I have never work with an open source project before. How
do I proceed?

Also, attached are my profile output.

> 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
>
>
> 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.


Mime
View raw message