dotnet / dotnet/efcore

Investigate potential overhead of using pre-compiled queries in non-AOT mode

Open
#35,027 0 comments 0 reactions 0 assignees View on GitHub
area-perf area-precompiled-queries
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

When doing initial perf investigation of AOT/precompiled query scenarios, we saw that for large number of queries (1000) and a relatively small model (10 entities) precompiled (but non-AOT) took longer than regular (non-precompiled) case. This is unexpected and we should investigate. (perhaps testing was wrong and precompiled queries weren't used despite being generated?)
AOT case is around 10x faster than regular scenario.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.