Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Closed Unassigned: Database init perfomance in EF 6-beta1 [1339]

$
0
0
Hello,
In our project we use huge models, and it take significant time to initialize database (PC is Core i7-2600 16GB).
For example, in model with 200 types (tables) each with 20-23 properties (columns) initialize time for EF5 is 17 seconds, but with EF6-beta1 this time increases to 55 seconds, 3 times more.

Here is my measures for 200 types:
* DropCreateDatabaseAlways Initializer
* 17 122 milliseconds in EF 5
* 55 829 milliseconds in EF 6-beta1
* null Initializer
* 3 302 milliseconds in EF 5
* 12 788 milliseconds in EF 6-beta1

Code example https://bitbucket.org/pil0t/eftestinit

Is there any way to optimize perfomance of database init?
Comments: Closing issue as it has been understood and work items have been opened for the action items needed to improve performance.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>