[
https://issues.apache.org/jira/browse/PROTON-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274983#comment-16274983
]
ASF subversion and git services commented on PROTON-1708:
---------------------------------------------------------
Commit 2a2d3ff27bd606af3e3c3c93705efff65c7a6302 in qpid-proton-j's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=2a2d3ff ]
PROTON-1708 Optimizations for the EncoderImpl and DecoderImpl
Provides several performance enhancements for the AMQP codec EncoderImpl
and DecoderImpl classes.
* Reduce instanceof and other type checks fro known types or by looking
ahead in the working buffer
* Reduce the number of throw away objects created during encode and
decode phase such as dynamic type constructor and char decoders etc.
* Provide fast write paths for both primitive types and known Described
types that are most often used
* Provide fast write path for most primitive write operations and for
Described types that are most often used
* Ensure the hot path for most read and write operations can be inlined
for the most common types.
* Adds some look ahead methods for users of the decoder that allow for
skipping types that aren't needed
* Allow Map types to be given fixed Type handlers for the Map keys for
those AMQP Map types whose Key types are specified to avoid the overhead
of looking them up on each Key read / write.
> [proton-j] Improve performance of proton-j codec
> ------------------------------------------------
>
> Key: PROTON-1708
> URL: https://issues.apache.org/jira/browse/PROTON-1708
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-j
> Affects Versions: proton-j-0.23.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: proton-j-0.24.0
>
>
> Several areas in the proton-j codec can be improved to provide overall
> improvements in both the encode and decode of AMQP types as well as reduce GC
> overhead with reduction in allocations of intermediate and helper objects.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]