Hi all,
here are some quick shot results using hprof (I'll do some more detailed
examination as soon as I have OptimizeIt access again):
For testing, I did a simple SessionFactory building on all the mappings
from the Unit tests. (except 4). In the default configuration, the rough
approximation is:
Of the time spent for the whole session factory building:
1/6th is spent for cglib.proxy.Enhancer.create (via
CGLIBProxyFactory.postInstantiate)
1/7th is spent on cglib.beans.BulkBean.create and
cglib.reflect.FastClass.create
This both happens in the call hierarchy of
PersisterFactory.createClassPersister, which accounts to roughly half of
the startup time (so mostly reflection and cglib here)
1/3rd of the total startup time goes to Configuration.addInputStream,
nearly completely to dom4j.io.SaxReader.read
These are only preliminary results, I hope to post some more detailed
numbers soon, with different cglib settings etc.
Michael
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
- [Hibernate] Startup time Gavin King
- Re: [Hibernate] Startup time Michael Gloegl
- Re: [Hibernate] Startup time Emmanuel Bernard
- RE: [Hibernate] Startup time Ara Abrahamian
- Re: [Hibernate] Startup time Emmanuel Bernard
- Re: [Hibernate] Startup time Gavin King
- Re: [Hibernate] Startup time Henri Tremblay
- Re: [Hibernate] Startup time Michael Gloegl
- Re: [Hibernate] Startup time Max Rydahl Andersen
- RE: [Hibernate] Startup time Ara Abrahamian
- Re: [Hibernate] Startup ... Gavin King
- RE: [Hibernate] Startup ... Joshua Davis
- Re: [Hibernate] Startup ... Ashish Kulkarni
- Re: [Hibernate] Startup ... Emmanuel Bernard
- Re: [Hibernate] Startup time Gavin King
- RE: [Hibernate] Startup time Marek Mosiewicz
- RE: [Hibernate] Startup time Ebersole, Steve
- Re: [Hibernate] Startup time Michael Gloegl