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:07:09 GMT
 >
 > IMO you should check it in but perhaps only after the 1.0 (for 1.0.1) ?
 > Btw, could you also check the performance of the AutoProxy impl ?

I tested this, results are unacceptable. See results in my first post.

Armin


Thomas Dudziak wrote:

> Armin Waibel wrote:
> 
>> Hi all,
>>
>> yesterday I add nested fields support for 
>> PersistentFieldIntrospectorImpl (needs still some more tweaking I guess).
>> So I start writing a performance test for the PersistentField 
>> implementations to compare the average performance. I got really 
>> drastic results.
>>
>> The performance of non nested fields for 
>> PersistentFieldDirectAccessImpl is excellent, but the nested field 
>> performance is horrible - nested field performance is more than 240 
>> times slower than "normal" fields.
>>
>> After this I rewrite the PersistenceField implementation using direct 
>> field access (call PersistentFieldDirectAccessImpl_2). This class has 
>> the same performance for non-nested fields as the old version, but the 
>> nested field performance is only 3,7 time slower (or 66 times faster 
>> than the old one).
>> Additionally I rewrite the PersistentFieldIntrospectorImpl class and 
>> it now has a very good performance too.
>> All my results see below.
>>
>> All tests (for PFIntrospectorImpl some tests fail because the 
>> persistent classes are not conform to javabeans syntax) pass with the 
>> new implementations. But the implementations are not tested in real 
>> production environments.
>> Should I check in this stuff, not check in, check in under new class 
>> names?
> 
> 
> IMO you should check it in but perhaps only after the 1.0 (for 1.0.1) ?
> Btw, could you also check the performance of the AutoProxy impl ?
> 
> 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