Comparison between the two bean mappers
Very random test between the two mappers, writtend during a coffee break. The test is carried out mapping 10.000 items of the same type. The result time is expressed in milliseconds:
(from a junit test output)
Task :engine:test
ModelMapper: 272 MapStruct: 7
References: ModelMapper -> http://modelmapper.org/ MapStruct -> https://mapstruct.org Baeldung -> https://www.baeldung.com/java-performance-mapping-frameworks https://www.baeldung.com/mapstruct