File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
ValueMapper/ValueMapperCore Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,20 @@ ValueMapper is designed for high performance. Here are some benchmark results co
289289 - No significant warmup overhead
290290 - Better startup time compared to both Mapster and AutoMapper
291291
292+ ### Other Observations
293+
294+ - ** Bimodal distribution** in AutoMapper, Mapster, and ManuallyImplementedMapper suggests occasional performance variability.
295+ - ** AutoMapper and Mapster** have significantly higher memory allocations (up to 1.67×).
296+ - ** ManuallyImplemented** options consistently perform best in both speed and memory.
297+
298+ ### ✅ Recommendation
299+
300+ For ** maximum performance** , prefer:
301+
302+ - ** ` ManuallyImplemented ` ** mapper (best for both individual and collection mapping).
303+ - If needing flexibility with a balance of performance: ** ` ValueMapper ` ** .
304+ - ** Avoid ` Mapster ` and ` AutoMapper ` ** in large collection transformations if performance is critical.
305+
292306Run the benchmarks yourself:
293307
294308``` shell
Original file line number Diff line number Diff line change @@ -289,6 +289,20 @@ ValueMapper is designed for high performance. Here are some benchmark results co
289289 - No significant warmup overhead
290290 - Better startup time compared to both Mapster and AutoMapper
291291
292+ ### Other Observations
293+
294+ - ** Bimodal distribution** in AutoMapper, Mapster, and ManuallyImplementedMapper suggests occasional performance variability.
295+ - ** AutoMapper and Mapster** have significantly higher memory allocations (up to 1.67×).
296+ - ** ManuallyImplemented** options consistently perform best in both speed and memory.
297+
298+ ### ✅ Recommendation
299+
300+ For ** maximum performance** , prefer:
301+
302+ - ** ` ManuallyImplemented ` ** mapper (best for both individual and collection mapping).
303+ - If needing flexibility with a balance of performance: ** ` ValueMapper ` ** .
304+ - ** Avoid ` Mapster ` and ` AutoMapper ` ** in large collection transformations if performance is critical.
305+
292306Run the benchmarks yourself:
293307
294308``` shell
You can’t perform that action at this time.
0 commit comments