.net - Latest Dapper VS Entity Framework 6 performance considerations -


there few performance comparisons between dapper (which seems fastest, popular "micro orm tool"). it's september 2014 , have entity framework 6 (not 5, or 4) , dapper still around.

we begin developing huge database n-tier application (database has 700 tables). , of queries need run quite time-sensitive.

  1. does have updates on performance regarding ef 6.1.x? concerns general queries made within dbcontext.
  2. i suppose cannot use nicely formatted linq queries dapper. have experience that? worth losing linq additional speed?
  3. is dapper still under active, constant development? github tells me yes, subsonic, can change rather quickly.
  4. is feasable/doable mix dapper , ef? dapper when need speed, otherwise ef.

thank you!

  1. does have updates on performance regarding ef 6.1.x? concerns general queries made within dbcontext?

ans: don't have specific numbers, have updated performance rig ef6; can't remember outcome exactly, but: ef6 lot faster ef-old, dapper still faster in many scenarios (and same edge-cases)

  1. i suppose cannot use nicely formatted linq queries dapper. have experience that? worth losing linq additional speed?

ans: subjective; us: yes, absolutely worth - care lots speed. parsing expression trees has impact, , generated sql in same league handcrafted sql decent dev

  1. is dapper still under active, constant development? github tells me yes, subsonic, can change rather quickly?

ans: absolutely; think i've deployed 4 versions month...

  1. is feasable/doable mix dapper , ef? dapper when need speed, otherwise ef?

ans: yes, can that; how started dapper - used replace linq sql code causing performance problems; on time, had grown, , have little linq sql code remaining (but still some)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -