[ 
https://issues.apache.org/jira/browse/PROTON-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676720#comment-16676720
 ] 

ASF subversion and git services commented on PROTON-1916:
---------------------------------------------------------

Commit 65172034332dfdf971a198a9c711cc1a9f39cdeb in qpid-proton-j's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=6517203 ]

PROTON-1916: Makes StringsBenchmark::encodeStringMessage GC free. This closes 
#15.


> Makes StringsBenchmark::encodeStringMessage GC free
> ---------------------------------------------------
>
>                 Key: PROTON-1916
>                 URL: https://issues.apache.org/jira/browse/PROTON-1916
>             Project: Qpid Proton
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Priority: Trivial
>             Fix For: proton-j-0.30.0
>
>
> StringsBenchmark is allocating a new ByteBufferWrapper instance
> on each encodeStringMessage invocation, making the encoding results depending 
> by
> the amount of garbage produced: turning the benchmark GC free will allow to 
> obtain more
> stable results and focus just on the String encoding speed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to