Re: [Codenarc-developer] AstUtils rewrite - can you test against Grails?
Brought to you by:
chrismair
From: <chr...@we...> - 2011-09-19 12:25:01
|
Hamlet, I will rebuild and run against Grails+Gradle again. In my current setup, I build a CodeNarc jar (mvn package) and copy that jar to a separate directory where I already have the other jars (GMetrics and Log4J) and a bat file to execute it. I point it at a locally-installed instance of the Grails source (and also Gradle source). This was not really (originally) intended as a performance benchmark, but more as a way to generate the sample reports and also be a regression test at the same time. Running CodeNarc against a Git or SVN repo, or against a jar/zip file for that matter, are still only potential future features. Does automating any of the above make sense as a unit test? Chris -----Original Message----- From: Hamlet D'Arcy [mailto:ham...@gm...] Sent: Monday, September 19, 2011 7:11 AM To: Cod...@li... Subject: [Codenarc-developer] AstUtils rewrite - can you test against Grails? Hi Chris, I finally got my merge issues resolved and checked in. I rewrite AstUtil.groovy to be AstUtil.java. It gave me less performance improvements than I expected on my test run. I am seeing about 4% improvement total, which is not very much, IMO. Can you try running the latest against Grails? How are you doing that? I propose that we add a unit test to the RunCodeNarcAgainstCodeNarcTest that runs the code against the Grails source. We can comment out the test so it never runs with the build, but then at least we share the same benchmark? My current benchmark is just running CodeNarc against CodeNarc. What do you think? -- Hamlet D'Arcy ham...@gm... ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Codenarc-developer mailing list Cod...@li... https://lists.sourceforge.net/lists/listinfo/codenarc-developer |