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/


-------------------------------------------------------
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