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

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
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: Gavin King (oneovthafew)
Date: 2003-02-15 19:03

Message:
Logged In: YES 
user_id=384580

I intergated this, but then made some changes to exception
handling approache. Would you please look over my work?

TIA

Gavin

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

Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-13 20:33

Message:
Logged In: YES 
user_id=337001

Forget this, It is not a problem (not realistic use case).
Postgrsql driver loads all results to memory.


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

Comment By: Gavin King (oneovthafew)
Date: 2003-02-13 18:37

Message:
Logged In: YES 
user_id=384580

No, I don't think it keeps a reference to the Iterator. Both the 
Iterator and the SessionImpl keep a reference to an open 
ResultSet.

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

Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-13 05:16

Message:
Logged In: YES 
user_id=337001

forgot to add file for ComponentType

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

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

Message:
Logged In: YES 
user_id=337001

Hibernate holds strong reference on iterator returned by
s.iterate( query ), is't it ?

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

Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-12 07: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 22: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 19:08

Message:
Logged In: YES 
user_id=337001

crappy UI 

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

Comment By: Gavin King (oneovthafew)
Date: 2003-02-09 11: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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Reply via email to