On Tue, 28 Dec 2004 09:54:31 +0530, Soundaian, Kamalakannan <[EMAIL PROTECTED]> wrote:

Hi all,
Can someone give me all the test cases for hibernate? I mean't the junit test cases.

eh ? its in CVS - go get them there ,)

-max

Thanks in advance
kamal

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 6:11 AM
To: hibernate-devel@lists.sourceforge.net
Subject: hibernate-devel digest, Vol 1 #1182 - 9 msgs


Send hibernate-devel mailing list submissions to
        hibernate-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/hibernate-devel
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of hibernate-devel digest..."


Today's Topics:

   1. Re: Startup performance revisited... (Binil Thomas)
   2. Re: Startup performance revisited... (Emmanuel Bernard)
   3. Re: Startup performance revisited... (Christian Bauer)
   4. Re: Startup performance revisited... (Max Rydahl Andersen)
   5. Re: Startup performance revisited... (Max Rydahl Andersen)
   6. Re: Count method (Greg Handi)
   7. Stored Procedure support revisited... (Max Rydahl Andersen)
   8. Re: Startup performance revisited... (Christian Bauer)
   9. Re: Startup performance revisited... (Binil Thomas)

--__--__--

Message: 1
Date: Mon, 27 Dec 2004 10:16:15 +0530
From: Binil Thomas <[EMAIL PROTECTED]>
Reply-To: Binil Thomas <[EMAIL PROTECTED]>
To: Max Rydahl Andersen <[EMAIL PROTECTED]>
Subject: Re: [Hibernate] Startup performance revisited...
Cc: Hibernate development <hibernate-devel@lists.sourceforge.net>

Hi Max,

Couple of months ago we were evaluating the use of Hibernate, and were
ran some performance comparisons between popular ORM tools. One of the
things we noticed is that serialization of lazy initialization poxies
is time consuming. I admit that when using Hibernate entities as DTOs
the proxy fields should be nulled out, ideally.

But what we would like to understand is, in your tests have you
noticed this before? If so, what kind of impact does it impose on
serialization of entities?

Thanks,
Binil

PS: We chose to go with Hibernate, BTW :-)

On Sun, 26 Dec 2004 22:30:03 +0100, Max Rydahl Andersen
<[EMAIL PROTECTED]> wrote:
Hi guys,

Just reran a set of startup performance tests, to see if something has
changed or I would be able to point out some new places
to put in some speedups. Unfortunately (or as expected) not much has
changed.

The same pattern always emerge on startup performance:

#1. xml reading is 40-60% if one doesnt use the serialized version...so
use addCachableFile() to do an EASY performance boost!
#2. FastClass creation takes 23% (when using serialized xml files). After
looking at the source I could see that fastclass is ONLY
needed when the cglib optimizer is used, so I removed creation of
fastClass'es.
The "funny" thing is that I don't think it makes any difference since
after removing this ClassLoader and normal reflection popped up
as using approximate the same time. (hinting that FastClass just
triggered that in a different way). So disabling cglib optimizer might not
give that much of a boost..my emperi hints it's <5%)
#3. After #1 & #2 the biggest time-stealer is reflection and classloading.
(nothing much to do about this except not adding classes not needed to
the configuration)


So, caching the classes generated by cglib I do not think will matter much
since it will be replaced with classloading.
The next step I see is lazy creation of EntityPersisters and/or trying to
serialize the actual SessionFactory (but that is a tough one - since to
alloew deserializing parts of the persisters, loaders, caches etc. need
access to stuff only available in SessionFactory which they don't all have
access to)


--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel



--__--__--

Message: 2
Date: Mon, 27 Dec 2004 09:28:04 +0100 (CET)
From: Emmanuel Bernard <[EMAIL PROTECTED]>
Subject: Re: [Hibernate] Startup performance revisited...
To: Max Rydahl Andersen <[EMAIL PROTECTED]>,
  Hibernate development <hibernate-devel@lists.sourceforge.net>

If 1 day in 2005 you can run the tests on annotations,
it would be great. I'm wondering how the XML 40%
become using annotations.

 --- Max Rydahl Andersen <[EMAIL PROTECTED]> a
écrit :
Hi guys,

Just reran a set of startup performance tests, to
see if something has
changed or I would be able to point out some new
places
to put in some speedups. Unfortunately (or as
expected) not much has
changed.

The same pattern always emerge on startup
performance:

#1. xml reading is 40-60% if one doesnt use the
serialized version...so
use addCachableFile() to do an EASY performance
boost!
#2. FastClass creation takes 23% (when using
serialized xml files). After
looking at the source I could see that fastclass is
ONLY
     needed when the cglib optimizer is used, so I
removed creation of
fastClass'es.
     The "funny" thing is that I don't think it
makes any difference since
after removing this ClassLoader and normal
reflection popped up
as          using approximate the same time.
(hinting that FastClass just
triggered that in a different way). So disabling
cglib optimizer might not
give     that much of a boost..my emperi hints it's
<5%)
#3. After #1 & #2 the biggest time-stealer is
reflection and classloading.
(nothing much to do about this except not adding
classes not needed to
the configuration)

So, caching the classes generated by cglib I do not
think will matter much
since it will be replaced with classloading.
The next step I see is lazy creation of
EntityPersisters and/or trying to
serialize the actual SessionFactory (but that is a
tough one - since to
alloew deserializing parts of the persisters,
loaders, caches etc. need
access to stuff only available in SessionFactory
which they don't all have
access to)

--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT
Products from real users.
Discover which products truly live up to the hype.
Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/hibernate-devel







Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/



--__--__--

Message: 3
Date: Mon, 27 Dec 2004 11:41:31 +0200
From: Christian Bauer <[EMAIL PROTECTED]>
To: Hibernate development <hibernate-devel@lists.sourceforge.net>
Subject: Re: [Hibernate] Startup performance revisited...

Binil Thomas wrote:

 I admit that when using Hibernate entities as DTOs
the proxy fields should be nulled out, ideally.

But a null is not the same as an unloaded object. I think this was discussed a few times before.




-- Max Rydahl Andersen callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to