[
https://issues.apache.org/jira/browse/OAK-6325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046686#comment-16046686
]
Michael Dürig commented on OAK-6325:
------------------------------------
[~frm] the patch fails to apply on my end. Do you have a GH branch to share?
The original intention of this test/utility was to determine, document and make
reproducible weights we associate with the various entities we put into
Guava/LIRS caches. See {{CacheWeights}} and OAK-5092. As long as we keep the
original intention I'm fine with moving this to a command line utility.
> Turn CacheWeightsTest into a command-line utility
> -------------------------------------------------
>
> Key: OAK-6325
> URL: https://issues.apache.org/jira/browse/OAK-6325
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: 1.8
>
> Attachments: OAK-6235-01.patch
>
>
> {{CacheWeightsTest}} is not a test, but a benchmark that reports the impact
> on the heap of different components in the oak-segment-tar module. To avoid
> running this test every time with the rest of the suite (the test is always
> skipped), it could be more appropriate to turn it into a command-line utility.
> We already did this in the past for the cold standby, when we created
> {{BulkTransferBenchmark}} out of an integration test that was a benchmark in
> disguise.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)