|
|
|
|
|
by latonz
1253 days ago
|
|
Automapper generates all mappings at runtime with reflection.
Mapperly in contrast uses roslyn based source generators and generates all mapping code at compile time. This leads to improved runtime performance with less allocations [1]. Since no reflection is used at runtime, the generated code is completely trimming save and AOT friendly. [1] https://github.com/mjebrahimi/Benchmark.netCoreMappers |
|