bean-mapping: Dozer 7.0.0 vs MapStruct 1.6.3 module (basic/nested/collection/null handling, silent-failure pitfalls, records, lazy getters, parity test, compile-failure demos, JMH benchmark), 14 contract tests

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur
2026-12-01 08:19:12 +05:30
co-authored by Claude Sonnet 5.5
parent a714780bca
commit 91f0757259
40 changed files with 2529 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Runs the JMH benchmark. Defaults: 3 forks, 3 x 1s warmup, 8 x 1s measurement. Takes about four minutes.
# Usage: ./scripts/run-benchmark.sh [extra JMH args]
set -euo pipefail
cd "$(dirname "$0")/.."
J="${JDK25_HOME:+$JDK25_HOME/bin/}java"
mkdir -p output
"$J" -cp "target/classes:target/lib/*" org.openjdk.jmh.Main MappingBenchmark \
-f 3 -wi 3 -w 1s -i 8 -r 1s -rf json -rff output/07-benchmark.json "$@" 2>&1 | grep -v "Picked up"