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.
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.