Does anybody have recommendation on improving activerecord startup performance?

On my app with 270 classes/tables it takes around 8 seconds to start
up. Since it's a winforms app and for testing I would like to reduce
that as much as possible.
I saw on the nhforge an article[1] about serializing the nhibernate
config but i'm not sure if and how it applies to an activerecord
project.

I also ran my app through eqatec profiler and the following is the top
4 in the profile:
nhibernate.cfg.XmlHbmBinding.Binder.Deserialize [1505ms]
Nhibernate.Cfg.Configuration.LoadMappingDocument [1095ms]
Castle.ActiveRecord.Framework.Internal.ActiveRecordModelBuilder.ProcessProperties
[566ms]
Nhibernate.Properties.BasicPropertyAccesor.GetGetterOrNul [546ms]

Thank you,
Gerdus van Zyl

[1] 
http://nhforge.org/blogs/nhibernate/archive/2009/03/13/an-improvement-on-sessionfactory-initialization.aspx

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to