benchmarks runningevery hour_

TX 02:05:21 UTC · BDN

.NET MapperBenchmarks

Real-time performance comparison of popular .NET object mapping libraries. Automated benchmarks with averaged results from the full history of the last 3 months.

LAST UPDATED ·

[01]

Benchmark Results

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

Libraries

7 LIBS · TOGGLE TO FILTER

SimpleFlat

CASE 01 · μs

Flat object with primitive properties

NestedObject

CASE 02 · μs

Object containing nested child objects

Collection

CASE 03 · μs

Object with a collection of 100 items

NameDifference

CASE 04 · μs

Source and target have different property names

Mean Execution Time

μs / op

Microseconds (μs) per operation · lower is better · average of last 3 months

LibraryVersionSimpleFlat (μs)NestedObject (μs)Collection (μs)NameDifference (μs)
Manual (foreach).NET 10.0.150.02 μs0.04 μs1.89 μs0.01 μs
Manual (LINQ).NET 10.0.150.02 μs0.04 μs2.04 μs0.01 μs
AutoMapper17.0.00.08 μs0.17 μs2.52 μs0.07 μs
Mapster10.1.0-pre040.03 μs0.05 μs1.99 μs0.02 μs
TinyMapper3.0.2-beta0.03 μs0.05 μs2.72 μs0.02 μs
AgileMapper1.8.10.47 μs0.47 μs2.73 μs0.46 μs
Mapperly5.0.0-next.130.02 μs0.04 μs2.1 μs0.01 μs

Memory Allocation

B / op

Bytes allocated per operation

LibraryVersionSimpleFlatNestedObjectCollectionNameDifference
Manual (foreach).NET 10.0.1588 B216 B9,656 B56 B
Manual (LINQ).NET 10.0.1588 B216 B9,728 B56 B
AutoMapper17.0.088 B216 B10,992 B56 B
Mapster10.1.0-pre0488 B216 B9,656 B56 B
TinyMapper3.0.2-beta88 B112 B9,656 B56 B
AgileMapper1.8.1352 B376 B9,920 B320 B
Mapperly5.0.0-next.1388 B216 B9,656 B56 B

[02]

How It Works

A transparent and reproducible benchmarking pipeline for .NET object mappers

Automated Execution

[01]

BenchmarkDotNet benchmarks run automatically every hour on a dedicated VPS.

Averaged Results

[02]

Results shown are the average of the full history of the last 3 months, reducing noise and outliers.

Auto-Updated Libraries

[03]

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

Multiple Scenarios

[04]

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