This project provides a comparative analysis of popular .NET object-to-object mapping libraries, including AutoMapper, TinyMapper, Mapster, and Mapperly, against a hand-written and a generated manual mapper. It uses BenchmarkDotNet to measure performance and memory allocation when mapping a complex Spotify album DTO structure.
19 lines
589 B
XML
19 lines
589 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net7.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="AutoMapper" Version="12.0.1" />
|
|
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
|
|
<PackageReference Include="Mapster" Version="7.3.0" />
|
|
<PackageReference Include="Riok.Mapperly" Version="2.7.0" />
|
|
<PackageReference Include="TinyMapper" Version="3.0.3" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|