db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: PersistentField implementations, dramatic performance differences
Date Fri, 25 Jun 2004 13:44:57 GMT
Thomas Dudziak wrote:
>>> I was wondering: for the test case that you just checked in, is the 
>>> FieldDescriptor instance created once prior to the 300000 runs, or is 
>>> it created anew in each run? The latter case would explain the bad 
>>> performance of the auto proxy impl because it determines the actual 
>>> impl to use when created.
>>>
>>
>> The PersistentField instance is created only once (no FieldDescriptor 
>> used) per test cycle.
> 
> 
> Sorry, I meant the PersistentField instance, not the field descriptor. 
> What do you mean by test cycle ?
>

See line 76 in PersistentFieldPerfTest, one cycle is 300000 get/set 
calls and the build the average over 5 cycles.

Armin

> Tom
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message