Grails 3 vs 4 performance, starting time and memory

The documentation of Grails 4 mentions an improvement in performance and starting time due to the micronaut parent context ( here ).

Did anyone measure the improvement from Grails 3 to Grails 4? How does Grails 4 compare to Grails 3 in boot time, performance and memory consumption?


Solution 1:

Writing an answer for the record. I recently upgraded a fairly sizeable grails 3 app (~150 domain classes) and noticed around 30% reduction in the boot time and 20-30% reduction in the memory footprint of the app. Hot restarting in Grails 4 is really annoying and wastes a lot of time for even small changes. I really miss the hot-swapping of grails 3. Other than that, it's worthwhile.

This article gives some of the grails performance metrics comparison between grails 3.3.9 and 4.0.