-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
I wanted to provide some nice benchmark results for @maryamariyan who is currently writing the blog post about Microsoft.Extensions* improvements we did for .NET 6.
To my surprise, the CachingPlatform-intel-win has regressed from 290k+ to 270k RPS. CachingPlatform-intel (which is running on Linux) regressed from 270k+ to 255k RPS.
The regression happened on the 12th of April:
I have taken a brief look at the profiles and it seems that it has been caused by #50778 which got also confirmed by the perf bot in DrewScoggins/performance-2#5151
The Caching benchmark is very specific, as due to caching the values are fetched from the database only once, and most of the time (40%+) is spent in... JSON serialization ;)
The JSON serialization logic can be found here:
In the case of this particular benchmark, we are serializing an array of one hundred instances of World, which is a very small class:
@eiriktsarpalis @layomia @steveharter is there any chance that you could take a look?
edit: struct -> class
