.NET Framework 4.8 v .NET 7 reflection performance benchmarks

Just for fun I ran a BenchmarkDotNet comparison between .NET Framework 4.8 and .NET 7 for some reflection related functionality like invoking a method or getting a private field etc.

Click on the image for a larger view in a new window …

Reflection is slow so it’s great to see how much it has improved since .NET Framework 4.8.

GitHub Gist code to re-create

.NET Framework 4.8 v .NET 7 Reflection Benchmarks (github.com)

Leave a Reply

Your email address will not be published. Required fields are marked *