Wasn't there talk about building HBM objects directly instead of going through the XML files (that need the painstakingly slow validation)? Won't that speed things up quite a bit, and isn't that a change independent of NH?
-Asbjørn On Thu, 23 Jul 2009 12:16:15 +0200, James Gregory <[email protected]> wrote: > Depends :) It's down to NH, not FNH really. NH takes quite a while to > validate what we give it. > Do your unit tests need the entire domain? If not you could build a > separate > PersistenceModel instance with just the classes you need in. > > In our model branch (which will become 1.0 in the not-too-distant future) > we've implemented merging of mappings, which speeds up BuildConfiguration > when there's a lot of mappings. > > On Thu, Jul 23, 2009 at 11:07 AM, Mikael Henriksson > <[email protected]>wrote: > >> Is it possible to tweak the configuration part for performance somehow? >> Now >> that the number of classes increased unit testing has become a bitch. It >> takes forever to do .BuildConfiguration(). Is there something I can do >> to >> improve this time? When it's deployed I don't give a rats ass but while >> I >> run my tests etc it has become sort of annoying! >> >> > >> > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
