Over a million developers have joined DZone.

Web Console - Run Groovy++ and Groovy scripts side by side

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

http://groovypp.appspot.com/ is a utility web console, if you are interested in a quick and simple check to see how a Groovy++ script compares to its dynamic Groovy equivalent - in terms of behavior, execution time, etc.

It's a very basic app - you give it a Groovy++ script and choose to run just the Groovy++ version or both Groovy++ / Groovy versions to compare them side by side.

Try the script below to know in 30 ms from Groovy++ that it cannot handle dynamic metaClass features or in around 150 ms from Groovy that it can. Then depending on which one you like more, you can say that Groovy++ is faster or Groovy is feature-richer ;-)

@Typed class Test {
static main(args) {
String.metaClass.foo = {-> println "foo() called"}

Feedback welcome.



Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}