Ricardo, If you can improve the performance of NH without reducing functionality, please submit a patch with the code of your performance enhancements and tests. Until then, have a great day!
Jason On Thu, Sep 3, 2009 at 2:07 PM, Ricardo Pedro <[email protected]> wrote: > > Hi Again... > > I read Ayende's blog, but I can't understand from that why EF is does > not tackle all the issues that NHibernat does. > I can understand that nhbernate do more, and better things than EF. > > That's why I like NH. Because I trully believe that is better than > EF!!! > But I think that as a user of NH I can ask why can't NH turned the > performance up in some sittuations... > > Like the AutoFlush Mode can be tuned and can improve a lot in some > situations, also the loading of entities in a Stateless mode could be > improved. > This is always a 2 side balance. Features vs Performance. > > > BTW > I've tested with NH2.1 and the performance was improved in the > StatelessSession mode to the same speed as the StatefullSession mode. > > I was getting around 15000 ms the 60000 objects in both mode. > > Ricardo > > PS: I'm portuguese so YES, I do understand what is *warm-bloody*. A > cold beer at a beach can always calm us down :D Come to Lisbon and I > will pay you plenty of them!!! > > On 3 Set, 18:21, Carlos cubas <[email protected]> wrote: > > Ricardo, > > > > You are missing a little bit of context. This issue has been beaten to > death with a club. > > EF is able to achieve such performance because it does not tackle issues > that NHibernate has as its primary concerns. (POCO) > > > > Carefully, read Ayende's post along with the comments so you get more > context. Also carefully read ORMBattle.net comments & blog so that you get > a sense for how much this issue has been discussed. > > > > -Carlos > > > > Practice makes perfect, but if no one is perfect, why practice? > > > > > > > > > Date: Thu, 3 Sep 2009 09:49:33 -0700 > > > Subject: [nhusers] Re: Question about NH (Hydrate) performance > > > From: [email protected] > > > To: [email protected] > > > > > Hi Fabio! > > > > > I think that you are over reacting.... > > > > > My intention is not make a critic to NH!!! > > > > > By the contrary, I want to help and say that I like NH too much to > > > abandon it!!! I think that if EF can (as ORMBattle say, I've not > > > testet my self yet...) load 100K entities faster than NH, then NH must > > > do the same... > > > > > This is my goal!!! Of course I understand that the architecture is > > > different, but as a NH user and fan, I think that this can be > > > possible. And as Obama said: YES WE CAN! > > > > > Not put our hands down and say... NO, WE CAN'T !!!! > > > > > I'm I wrong ? > > > > > RP > > > > > On 3 Set, 17:15, John Rayner <[email protected]> wrote: > > > > > I also found that the most time consuming in the stateless session > is > > > > > creating Proxies when the materializing is done. > > > > > > I may not be correct in this, but I think that lazy="false" on the > > > > <class> mapping prevents proxy creation. Have you tried adding this > > > > into all your mappings? (I'm not sure if your application needs > lazy- > > > > loading at all). > > > > > > Cheers, > > > > John- Ocultar texto citado - > > > > - Mostrar texto citado - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
