jackrabbit-dev mailing list archives

Hi Angela,
I added another patch to JCR-3382. Tests now performsn 50.000 reads each.
The execution logic of the tests didn't change.
You can look at the tests results at [1]. I don't see a lot of difference
in performance, except for the "max" value in TreeRandomReadTest when the
default-usermanager-repository in Jackrabbit 2.6 is used.
[1]: http://pastebin.com/Z7b71QKy
2013/5/29 Angela Schreiber <anchela@adobe.com>
> hi francesco
>
> did you run it just with 1000 reads? that's the size of the
> per session read-cache in the permission evaluation.... so
> no big surprises there :-)
> i would suggest you also compare reading 10000 or 50000 items
> in order to have some meaningful figures.
>
> regards
> angela
>
>
>
>
> On 5/17/13 10:10 AM, Francesco Mari wrote:
>
>> Hi all,
>>
>> I attached a patch to JCR-3382 containing two performance tests. The
>> tests are:
>> - TreeRandomReadTest: perform 1.000 reads on unique paths using a new
>> Session, with a clear cache for ItemManager.
>> - RepeatedTreeRandomReadTest: perform 1.000 reads on unique paths
>> using an existing Session, thus accessing items from the cache in
>> ItemManager.
>>
>> I compared results for 2.4 and 2.6 and it looks like there is no
>> performance loss due to the patch.
>>
>