Get the best Entity Framework 6 performance like Dapper.NET

I used dapper.net because micro-orm, speed and performance are fantastic!

Simple CRUD operations in Dapper are faster than Entity Framework 6.

Speed-Comparison-Dapper-vs-Entity-Framework

But if I need the speed and performance of Entity Framework 6 as Dapper , what should I do?

I do not need all the advanced features of Entity Framework 6, so

Can I disable some features to increase the speed and performance of Entity Framework 6? Which one?

What features are expensive and increase speed to disable them? (specify)

+6
source share
1 answer

Simple CRUD operations in Dapper are faster than Entity Framework 6.

Yes. So what? EF is known to be slow. Deal with it. It is documented and is a work item that they hope to work on at some point before the EF 100. They are developing faster, but they are still slow.

But if I need the speed and performance of Entity Framework 6 as Dapper, what should I do?

1: use dapper.

Or:

2: sit down with the EF source code and fix the problems and send them as a patch.

Can I disable some features to increase the speed and performance of Entity Framework 6?

The essence of the Framework is too slow. What are my options?

+7
source

Source: https://habr.com/ru/post/973286/


All Articles