| Hi Guillaume! the improvement has cut off another 3 seconds. So it now takes 1:53. When using javassist, the compilation completes in 0:24. However, it seems that the patch indeed helped with not touching that much other classes. The output log now looks the same (on first sight) as in javassist case. Attaching the log. hibernate_enhance_HHH-13097.zip Funny thing is that here it is claimed that one may expect bytebuddy slower https://stackoverflow.com/a/45470664 and here that someone saw it 3x faster https://www.reddit.com/r/java/comments/5dm586/hibernate_has_migrated_from_javassist_to_byte/da74g1l by the author of bytebuddy. By slowly looking a the log when the compile runs, it seems that it takes most time for entities with many fields. It takes 24s to process SimulationItem entity. That entity stores 100x BigDecimal, 200x varchar(70), and 12 other fields (mix of numbers, varchar(255) and booleans). The entity fits max row length in mysql. So far, I forked 5.3.7 where upped bytecode provider deps to the latest (to have java11 support and switched to javassist. If you would need any other data, please let me know. Thanks a lot for your time! Tomas |