Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using EF good/bad/ugly client-side #2991

Closed
DickBaker opened this issue Jan 7, 2021 · 3 comments
Closed

using EF good/bad/ugly client-side #2991

DickBaker opened this issue Jan 7, 2021 · 3 comments

Comments

@DickBaker
Copy link
Contributor

EF starting well with perf initiative for v5-v6 at https://docs.microsoft.com/en-us/ef/core/performance/performance-diagnosis?tabs=simple-logging%2Cload-entities and I am hoping this will develop to contrast the different styles of using EF in anger [not just trivial courseware/demoware]. Building on Roji's work [minimising roundtrip/traffic] I will shortly contribute a [more involved] PR highlighting client-side alternatives to show some gotchas / goodness that I hope you will publish [after inevitable wrangling!] to enlighten & encourage efficient methodologies.
Besides the C# code I will submit an .XLSX to portray my results, but I am conscious that probably will still need a good wordsmith to explain the angles in best light. HTH anyway even if few sacred cows get scapegoated [sorry pun].

@DickBaker DickBaker mentioned this issue Jan 7, 2021
DickBaker pushed a commit to DickBaker/EntityFramework.Docs that referenced this issue Jan 7, 2021
FYI I left in DIYMark as debug convenience [drop before merge]
PK driven like most real-world scenarios [AK too wide etc]
request/sequential/random and caching [avoid r-trip] cases
20 methods = 3xRoji, 5xADO, 4xFind, 2xFirst,2xHybrid, 2xObj, 2xDict
perhaps investigate BM RunStrategy, MaxIterationCount, SimpleJob, ShortRunJob
DickBaker pushed a commit to DickBaker/EntityFramework.Docs that referenced this issue Jan 8, 2021
FYI I left in DIYMark as debug convenience [drop before merge]
PK driven like most real-world scenarios [AK too wide etc]
request/sequential/random and caching [avoid r-trip] cases
20 methods = 3xRoji, 5xADO, 4xFind, 2xFirst,2xHybrid, 2xObj, 2xDict
perhaps investigate BM RunStrategy, MaxIterationCount, SimpleJob, ShortRunJob
Git stats
EfBench02.* results & my analysis, but needs fuller explanation and Dev guidance
@AndriySvyryd AndriySvyryd modified the milestone: Backlog Jan 8, 2021
@ajcvickers
Copy link
Member

Ping @roji

@roji
Copy link
Member

roji commented Feb 2, 2021

Let's wait a few more days for a response on #2992 (comment)

@roji
Copy link
Member

roji commented Feb 6, 2021

Closing this for now as per #2992 (comment)

@roji roji closed this as completed Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants