jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Poce <edgarp...@gmail.com>
Subject Re: ItemState existence not cached
Date Thu, 07 Apr 2005 12:25:25 GMT
Hi dominique

Dominique Pfister wrote:
> Instead of changing 
> the general SharedItemStateManager behaviour, I would rather suggest 
> that the versioning part creates a specialized, derived 
> SharedItemStateManager that avoids calling the PM over and over again 
> for the same, non-existent items.

It seems it's not only the versioning PM. the default workspace PM is 
also called too many times.

regards
edgar

e.g.
calls to the default workspace PM when running core.observation.testAll 
against an empty repository:

nodes destroyed 6
properties destroyed 6
values destroyed 17
node exists: 312
property exists: 2980
node references exists: 0
insert node 11
insert property 11
insert values 11
load node 1
load properties 7
load node references 6
load values 1
store child node entries 16
update node 5
update property 0

> 
> Kind Regards
> Dominique
> 

Mime
View raw message