You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2015/01/19 16:27:36 UTC

[jira] [Created] (PROTON-803) Message codec improvements

Rajith Attapattu created PROTON-803:
---------------------------------------

             Summary: Message codec improvements
                 Key: PROTON-803
                 URL: https://issues.apache.org/jira/browse/PROTON-803
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-j
    Affects Versions: 0.8
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: 0.9


This JIRA covers improvements made to the codec, especially lists and maps.

The work is based on https://github.com/rhs/qpid-proton-old/tree/codec/proton-j/src/main/java/org/apache/qpid/proton/codec2

The above referenced code, is quite an improvement with respect to writing lists, maps and strings over the existing codec.

Simply put the writeList and writeMap methods in the old encorder is about ~10 times slower than the new encorder.
If I run with a sufficiently large set of strings, the old encorder is about ~2 times slower than the new encorder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)