aspose file tools*
The moose likes Groovy and the fly likes Groovy performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Groovy performance" Watch "Groovy performance" New topic
Author

Groovy performance

Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
What is the best way to speed up groovy processing in general. I was wondering if there was a way to compile groovy code into java code and run the byte code with the JVM. New to groovy and not sure the best or any route to take in that manner.


Jeremy Wilson
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

Originally posted by Jeremy Wilson:
What is the best way to speed up groovy processing in general. I was wondering if there was a way to compile groovy code into java code and run the byte code with the JVM. New to groovy and not sure the best or any route to take in that manner.


Groovy is always compile down to byte code. Groovy is Java and groovy executes on the JVM. Execution will seem a bit faster if you do the compiling (check groovyc) but if you execute groovy scripts, they still execute as byte code. Really though this is just startup time. Once the script is running, its going to be the same.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Groovy performance
 
Similar Threads
does groovy require a different framework?
HowTo --> GroovyShell().evaluate("['item1', 'item2', 'item3']")
IntelliJ Community edition
Learing Groovy
Groovy : Process CSV to SQL