.NET 5 is out, then I started updating my GitHub repositories and I remembered that I had an ORM performance comparison over there :) The previous setup was with .NET Core 2.2 + EFCore + Dapper + NHibernate (using SQL Server) and Linux Containers.
Results: (SELECT operations), same environment, same machine, I’m really impressed with how Dapper got faster.
The master branch is with .NET 5 and there’s another branch called net22 that I left the old code.
So as you can see in the image below we have a 33,3% gain for Dapper, 16,6% for EntityFramework, and 12,9% for NHibernate, so the overall performance is around 20%! Quite impressive numbers, I will soon create more tests with other operations and update the repository, feel free to contribute over there :)