activemq-dev mailing list archives

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


Gerald Kaas commented on AMQCPP-93:

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

View raw message