Patches item #682992, was opened at 2003-02-08 17:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=682992&group_id=40712

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Juozas Baliuka (baliuka)
Assigned to: Nobody/Anonymous (nobody)
Summary: optimization 

Initial Comment:
eleminates reflection to read/write properties and 
newInstance (if possible), persister disables 
optimizations on error in cglib.

----------------------------------------------------------------------

>Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-11 20:30

Message:
Logged In: YES 
user_id=337001

I have tested situation like this ( iteration )
String  query1= "from fo in class FoPrivate" ;
String  query2= "from fo in class FoPublic" ;

 java.util.Iterator i = s.iterate( query ); 
              
             long time = System.currentTimeMillis();
                while(i.hasNext())
                    i.next();
               
              System.out.println( (System.currentTimeMillis() - 
time) );

It shows 3%- 5% Performance incremet with optimizer, but I 
do not trust this kind of test very mutch. I know generated 
code it is faster, but can't say any numbers, It is not trivial to 
test.

BTW: It is a problem in situation like this:
for(int i=0 i< 1000; i++ )
 s.iterate( query ).next(); 

 java.lang.OutOfMemoryError with -Xmx256M
             

----------------------------------------------------------------------

Comment By: Gavin King (oneovthafew)
Date: 2003-02-11 11:33

Message:
Logged In: YES 
user_id=384580

Cool. This looks very nice. Have you tried to run any 
performance tests to see if there is an observable difference 
in performance?

----------------------------------------------------------------------

Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-09 08:08

Message:
Logged In: YES 
user_id=337001

crappy UI 

----------------------------------------------------------------------

Comment By: Gavin King (oneovthafew)
Date: 2003-02-09 00:11

Message:
Logged In: YES 
user_id=384580

Theres no attached file.....

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=682992&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to