I have absolutely same situation here!!!!!!!!!!!!!!!!!!!!!

And I did some review and profiling on NH, now I'm able to speed NH's linq 
materialization to 200% speed by some twist in NH.



On Thursday, December 20, 2012 11:14:23 PM UTC, Randar Puust wrote:
>
> So I'm a huge fan of NHibernate and trying to move our current platform 
> from Entity Framework 4.0 to NHibernate.  Unfortunately, I just ran into a 
> problem, which is that the performance seems much worse when we tested it 
> in an isolated set of tests, using the same patterns we currently use.  Of 
> course my concern is that to win the NH argument, I have to show solid 
> evidence that NH will give us a performance boost, along with all the other 
> things I love so much about NH.  
>
> My baseline is EF 4.0 with Model First.  The tests included operations 
> like Create, Publish and Edit, which are specific to our application.
>
>    - EF 5.0 and Code First – 166% slower
>    - EF 5.0 and Model First with .Net 4.5 – 100.8% slower
>    - EF 5.0 and Code First with .Net 4.5 – 171% slower
>    - NHibernate 3.3.1 – 163% slower
>
> So based on this, my best solution is just to stick with Model First and 
> probably upgrade to 4.5.  What I'm really looking for is some good 
> performance data that compares EF 5.0 to NH.  The best I can find is this, 
> but it's from 2009
>
>
> http://gregdoesit.com/2009/08/nhibernate-vs-entity-framework-a-performance-test/
> I really don't think I'm going to be able to convince people to re-factor 
> the entire DAL without more solid evidence that NH is on average faster.  
> Does anybody know of any analysis that has been done?
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/K7TlTFRZAdEJ.
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.

Reply via email to