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

Commented Issue: DbContext model access perf regression [355]

$
0
0
While prototyping some model caching changes I noticed that model access perf. (i.e. calling IObjectContextAdapter.ObjectContext) has regressed quite substantially:

AdventureWorks Code First model timings (5000 iterations):

EF5: 16s
EF6: 42s

It looks like the regession is in the InternalContext.ForceOSpaceLoadingForKnownEntityTypes() code path.




Comments: Tested with the latest bits (which have changed significantly in this area) and I am now seeing these times for MonsterModel: EF5: 15s EF6: 5s Recommend that we don't do any more work on this unless the perf suite picks something up.

Viewing all articles
Browse latest Browse all 10318

Latest Images

Trending Articles



Latest Images

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