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-13 09: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 07: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-12 18:16
Message:
Logged In: YES
user_id=337001
forgot to add file for ComponentType
----------------------------------------------------------------------
Comment By: Juozas Baliuka (baliuka)
Date: 2003-02-12 13: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-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: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel