Performance of Entity Framework 5 compared to ServiceStack Orm lite

dapper entity-framework fluent-migrator ormlite-servicestack servicestack

Question

EF5 was released a week ago and should have improved performance quite a bit. I am currently using ServiceStack OrmLite but am considering swithcing to EF5 because it also allows CodeFirst + it has a migrations feature.

The benchmarks I have found however do not look very good

http://www.servicestack.net/benchmarks/ taken from here http://code.google.com/p/dapper-dot-net

but they are not updated to test against the latest version of EF5 as far as I know. Does anybody know of some fresh updated benchmarks of EF5 vs. OrmLite and Dapper?

I am also considering staying with OrmLite and then use Fluentmigrator http://www.github.com/schambers/fluentmigrator to do migrations instead of the new EF5 with migrations enabled.

The reasons for switching to EF5, has lots of built in support in Visual studio and MVCScaffolding and "it is more standard" thus easier to recruit people for + outsource code.

But then again I really like the entire ServiceStack stack including OrmLite and I feel it is very well crafted, although I have not done any systematic performance testing myself.

So I ask for recommendations and arguments for and against switching from ServiceStack Ormlite + Fluentmigrations to EF5 + any updated benchmarks comparing EF5 to OrmLite.

Popular Answer

I built an ORM testing platform a few months ago. It currently tests EF4.1, EF5 (Beta 2), dapper, linq2sql, nhibernate, petapoco, SimpleData and raw SQL commands.

You can take a look here for my results on EF, dapper and Linq 2 SQL.

Tarwn has also contributed and blogged around bulk inserts with the other frameworks

If you want to try some more frameworks or reproduce my results grab the source from github




Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why