edalquist/hibernate-core — comment on commit 174c3eff7f7a89855a2879bb8aba615c66dba32a
File: hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java line 75
By sebersole:

This change is not really buying you anything performance wise. The MessageHelper.infoString is resolved regardless once you get inside the "is trace enabled" check. At that point, using string formatting has an unneeded overhead to set up the scanning, etc.