.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.
- does have updates on performance regarding ef 6.1.x? concerns general queries made within dbcontext.
- i suppose cannot use nicely formatted linq queries dapper. have experience that? worth losing linq additional speed?
- is dapper still under active, constant development? github tells me yes, subsonic, can change rather quickly.
- is feasable/doable mix dapper , ef? dapper when need speed, otherwise ef.
thank you!
- 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)
- 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
- 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...
- 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
Post a Comment