Reduce memory footprint and improve performance of expression-based ORM usage #10522
Labels
Feature Improvement
Impact-Low
(Internal MS Team use only) Describes an issue with limited impact on existing code.
Theme-Performance
Milestone
Repro steps
dotnet tools restore
cd ./BuildQuery.Benchmark
dotnet publish -c Release -m
dotnet ./bin/Release/netcoreapp3.1/publish/BuildQuery.Benchmark.dll
Expected behavior
F#'s performance is slighly lower than C#'s because of Quotation->Expression conversion
Actual behavior
F# is 6x times slower (~0.65ms more per call) and allocates 10x times more (~453 KiB more per call)
Known workarounds
Query compilation may move this costs to startup time, but it's blocked by #2758 and may not be used on every query.
Related information
Provide any related information (optional):
The text was updated successfully, but these errors were encountered: