You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "davydotcom (via GitHub)" <gi...@apache.org> on 2025/10/01 02:15:39 UTC

Re: [I] Grails Array/List access performance severely degraded compared to pure groovy or java [grails-core]

davydotcom commented on issue #15100:
URL: https://github.com/apache/grails-core/issues/15100#issuecomment-3354447562

   Alright, I know the answer. To find out you need to actually inspect the process arguments sent to java during development runtime. 
   
   Some of those settings enable Tiered Compilation and finally disable the C2 Compiler . This additional JIT optimization compiler is not enabled in dev mode and causes the significant slow down on loop iteration.
   
   Why you may ask. @lhotari  may have more insight here but I do recall a long long time ago, this optimization was added in order to reduce dev startup time on large projects. C2 optimization adds startup time delays for larger grails projects. So, you kinda have a choice of do you want faster dev runtime or faster dev startup time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org