Hi everyone, recently my team and I upgraded our a...
# questions
u
Hi everyone, recently my team and I upgraded our application from Grails 2.5.6 to Grails 4.1.3. We noticed a significant performance drop when running the application with
grails run-app
compared to using the
./gradlew
command in the development environment. Does anyone know why this happens or what could be causing this difference?
j
The jump from 4.x to 7.x is not nearly as painful since it's documented in the upgrade notes. I'd suggest you update - this will allow you to go to Java 17, have a modern build system, and numerous other fixes. The performance will be very noticeable.
j
run-app and bootRun are not really useful for evaluating performance. I'd do bootJar/bootWar and java -jar myapp.jar for analyzing anything performance related.