You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/27 09:42:38 UTC

[jira] [Resolved] (OAK-2812) RevisionGC benchmark

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

Marcel Reutegger resolved OAK-2812.
-----------------------------------
    Resolution: Fixed

Added a {{RevisionGCTest}} to trunk: http://svn.apache.org/r1676206

The benchmark per default creates 100k nodes, removes half of them again and then runs RevisionGC.

The number of nodes that are created can be controlled with the {{-Dscale}} system property. The default value is {{100}} and creates 100k nodes. To create e.g. 10 million nodes use {{10000}}. The garbage can be controlled with the {{-DgarbageRatio}} system property. The default is {{0.5}}.

> RevisionGC benchmark
> --------------------
>
>                 Key: OAK-2812
>                 URL: https://issues.apache.org/jira/browse/OAK-2812
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: run
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Create a simple RevisionGC benchmark. The benchmark should create a repository
> with some ratio of garbage to clean up and then run the RevisionGC.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)