Hello all,

I've written a Windows service to use fluent NHibernate. The project consists of 6 entities with associated mappings. When the service starts it connects to the database using fluent. The code is the same as the Fluent NHibernate console program sample.

Start up times are pretty slow ~10 seconds. So slow that starting up the service sometimes fails due to timeout. I've tracked this down to the session creation process, the method called CreateSessionFactory in the sample program.

In order to make sure that it wasn't something I was doing I did the same performance test using the Fluent NHibernate program itself. Performance is about the same at 8093ms.

Anybody any ideas what I can do to speed things up? From what I can see, it looks like it is the generation of the XML mapping files where the majority of the time is being spent.

Regards,

Jack Hughes

--
You received this message because you are subscribed to the Google Groups "Fluent 
NHibernate" 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/fluent-nhibernate?hl=en.

Reply via email to