Skip to content

mjebrahimi/DotNet-Mappers-Benchmark

 
 

Repository files navigation

🥇 .NET Object Mappers Benchmark

Comparing the performance of different .NET object mappers.

Comparison between

  • Mapperly⭐️: A .NET source generator for generating object mappings. No runtime reflection - docs
  • Mapster⭐️: A fast, fun, and stimulating object-to-object Mapper - docs
  • AutoMapper: A convention-based object-object mapper in .NET - docs
  • EmitMapper: Powerful customisable tool for mapping entities to each other
  • TinyMapper: A quick object-object mapper for .NET - docs
  • ExpressMapper: .Net open source library - lightweight, lighting fast .Net mapper to map one type of object(s) to another in automated and easy way - docs
  • AgileMapper: A zero-configuration, highly-configurable object-object mapper with viewable execution plans - docs
  • Manual mapping: Generated by MappingGenerator visual studio extension, an "AutoMapper" like Roslyn based, code fix provider that allows to generate mapping code in design time.

Run benchmark

Run the following command.

dotnet run -c Release

Result

  • Mapperly is the Fastest mapper.
  • Mapster is the second fastest mapper.

Benchmark

About

🥇 .NET Object Mappers Benchmark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

No contributors

Languages

  • C# 100.0%