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.
On 5/17/13 10:10 AM, Francesco Mari wrote:
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
I compared results for 2.4 and 2.6 and it looks like there is no
performance loss due to the patch.