You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2018/11/06 13:10:00 UTC

[jira] [Resolved] (PROTON-1916) Makes StringsBenchmark::encodeStringMessage GC free

     [ https://issues.apache.org/jira/browse/PROTON-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved PROTON-1916.
------------------------------------
    Resolution: Fixed

> Makes StringsBenchmark::encodeStringMessage GC free
> ---------------------------------------------------
>
>                 Key: PROTON-1916
>                 URL: https://issues.apache.org/jira/browse/PROTON-1916
>             Project: Qpid Proton
>          Issue Type: Test
>            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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org