efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Very poor performance in first query

Open JuanIrigoyen opened this issue 10 years ago • 2 comments

I have a model with 500 entities in EF 7 RC2, my first query takes about 60 seconds on a computer with Core I7-4790 and SSD. I think it must be a mistake .

I attached a small test and a backup of the database for you can check it, as the project and database size is about 90 MB put a link so you can download it.

https://onedrive.live.com/redir?resid=BAACB19BFF835807!22659&authkey=!AJmKFE0hsXaj_nM&ithint=file%2crar

JuanIrigoyen avatar Jun 11 '16 01:06 JuanIrigoyen

I upload test project to git in https://github.com/JuanIrigoyen/Ef7Test

JuanIrigoyen avatar Jun 14 '16 23:06 JuanIrigoyen

He updated the project to version 1.0 core, test times have been reduced to the 5736 miliseconds, these are acceptable in a database of this size. Thank you, great job.

JuanIrigoyen avatar Jun 27 '16 20:06 JuanIrigoyen