[Codenarc-developer] Big Performance Improvements on 0.16
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2011-08-19 12:15:02
|
Hi everyone, Just an FYI, There are some big performance improvements in CodeNarc 0.16. This is good news. The run times on my Grails project was cut in half. The problem was being caused by using the Object#getProperties() method that the GDK provides. This does dynamic lookup in the metaclass and reflection in the .class file. It is a bit of a performance hog. Anyway, if you're writing rules then you should probably avoid looking up properties this way. Enjoy, -- Hamlet D'Arcy ham...@ca... |