I did some tests regarding the new feature of EF5 auto-compiled queries. The problem is that I do not see a difference in performance.
I did one project with .NET 4.0 and EF4.0 without using compiled queries. I did another project with .NET 4.0 and EF4.0 with compiled queries - there was a 50% performance improvement.
And then I tried to create a project with EF 5.0, which basically had no performance difference.
All projects were asp.net mvc (the first two were version 3, the latest version was version 4).
Am I missing something? Is there anything special I need to do to enable the auto compile feature? I just created an MVC 4 project with pre-build EF5 inside.
The request I'm testing with is rather complicated, with three associations and several filters inside.
thanks
source share