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 <
veno...@hotmail.com> 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:
soferrag...@gmail.com
> > To:
nhu...@googlegroups.com
>
> > 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 <
john.ray...@conchango.com> 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 -