Skip to content

A quick benchmark to showcase how lambdas can cause hidden memory allocations

Notifications You must be signed in to change notification settings

dominic-codespoti/dotnet-local-function-allocation-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hidden Lambda Allocation Benchmarks

Explanation

Coming soon in blog post form!

Results on my PC

Method Mean Error StdDev Allocated
StaticLocalFunctionExample 34.60 us 0.681 us 0.885 us 600 B
LocalFunctionExample 39.67 us 2.155 us 6.320 us 64632 B

About

A quick benchmark to showcase how lambdas can cause hidden memory allocations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages