New posts for Spring and Hibernate
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# INDICATIVE timings: hand-written vs MapStruct vs Dozer (setter-based beans)
|
||||
|
||||
Java 25.0.3+9-LTS-195, one JVM, 200000 iterations per round, best of 5 rounds after a 50000-iteration warm-up
|
||||
mapping: Customer -> CustomerView (1 address, 1 order with 2 lines, 1 set, 1 map)
|
||||
|
||||
hand-written 95 ns/op
|
||||
MapStruct 1.6.3 92 ns/op (1.0x hand-written)
|
||||
Dozer 7.0.0 11498 ns/op (122x hand-written)
|
||||
|
||||
first call, cold: MapStruct 0.13 ms, Dozer 80.9 ms
|
||||
results equal: true
|
||||
|
||||
Indicative only. Timings vary between runs and machines; do not quote them as a benchmark result.
|
||||
Reference in New Issue
Block a user