Benchmarks running every 5 minutes

.NET Mapper
Benchmarks

Real-time performance comparison of popular .NET object mapping libraries. Automated benchmarks with averaged results from the last 50 runs.

Last updated:

Benchmark Results

Average of last 50 runs · Mean execution time in microseconds (μs) · Lower is better

Libraries

SimpleFlat

Flat object with primitive properties

NestedObject

Object containing nested child objects

Collection

Object with a collection of 100 items

NameDifference

Source and target have different property names

Mean Execution Time

Microseconds (μs) per operation · lower is better · average of last 50 runs

Library Version SimpleFlat (μs)NestedObject (μs)Collection (μs)NameDifference (μs)
AutoMapper 16.1.1 0.18 μs 0.26 μs 7.87 μs 0.1 μs
Mapperly 5.0.0-next.3 0.09 μs 0.11 μs 5.81 μs 0.02 μs
Mapster 10.0.7-pre01 0.04 μs 0.26 μs 6.02 μs 0.03 μs
TinyMapper 3.0.2-beta 0.05 μs 0.07 μs 8.9 μs 0.03 μs
AgileMapper 1.8.1 0.73 μs 0.8 μs 11.84 μs 0.87 μs
Manual (LINQ) .NET 10.0.4 0.04 μs 0.1 μs 13.46 μs 0.01 μs
Manual (foreach) .NET 10.0.4 0.04 μs 0.16 μs 13.55 μs 0.02 μs

Memory Allocation

Bytes allocated per operation

Library Version SimpleFlatNestedObjectCollectionNameDifference
AutoMapper 16.1.1 88 B 216 B 10,992 B 56 B
Mapperly 5.0.0-next.3 88 B 176 B 9,656 B 56 B
Mapster 10.0.7-pre01 88 B 216 B 9,656 B 56 B
TinyMapper 3.0.2-beta 88 B 112 B 9,656 B 56 B
AgileMapper 1.8.1 352 B 376 B 9,920 B 320 B
Manual (LINQ) .NET 10.0.4 88 B 216 B 9,728 B 56 B
Manual (foreach) .NET 10.0.4 88 B 216 B 9,656 B 56 B

How It Works

A transparent and reproducible benchmarking pipeline for .NET object mappers

Automated Execution

Benchmarks run automatically every 5 minutes on a dedicated VPS.

📊

Averaged Results

Results shown are the average of the last 50 runs, reducing noise and outliers.

🔄

Auto-Updated Libraries

Library versions are updated automatically so benchmarks always reflect the latest releases.

🎯

Multiple Scenarios

Each library is tested across flat mapping, nested objects, collections, and name differences.