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

ASF subversion and git services commented on GEODE-10214:
---------------------------------------------------------

Commit 982f846fb5d8b61e617c7d0e1a484ea0664229ab in geode's branch 
refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=982f846fb5 ]

GEODE-10214: Improve speed of JvmSizeUtils.roundUpSize (#7548)


This small change improves the speed of this method by about 30% (as per
basic JMH benchmarking). benchamrk1 is the original and benchmark2 the
change.

```
Benchmark                     Mode  Cnt     Score     Error  Units
PerformanceSample.benchmark1  avgt    5  3480.815 ± 387.131  us/op
PerformanceSample.benchmark2  avgt    5  2418.937 ± 586.209  us/op
```


> Improve performance of JvmSizeUtils.roundUpSize
> -----------------------------------------------
>
>                 Key: GEODE-10214
>                 URL: https://issues.apache.org/jira/browse/GEODE-10214
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>
> This small method can still be optimized. It is used extensively (albeit 
> indirectly) in much of the geode-for-redis modules' data structure size 
> calculations.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to