The difficulty in this is that the performance of NHibernate can vary enormously depending on how you use it. You seem to have used one of the best test methods - namely testing on your own code - but even here it depends on how you use it. I.e. how much data you load, how collections are configured, how often you flush, session size, etc.
/Oskar 2012/12/21 Randar Puust <[email protected]>: > 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/-/g5MLHwi-u84J. > 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. -- 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.
