Archive | March, 2008
Programming with Amazon’s Web Services? Buy this book.
Revisit Your Design Ideas
Groovy Micro Benchmark Revisited (Groovy is fast…)
Alright, no more Groovy posts for a while after this one. In fact, I hadn’t planned on posting about this again, but I thought it was worth mention.
From the last post, we saw the following results for parsing an XML dataset with about 450 simple elements in it 1,000 times:
Java: ~9 seconds
Groovy: ~28 seconds [...]
Groovy Micro Benchmark
Following on from the previous post (and here’s the last post), here’s a very quick and dirty, completely unscientific, prone to error, your mileage may vary micro benchmark I did using the code in the last post.
Date set: a String containing roughly 450 XML elements in the form <contact name=”some name” email=”some email” />
Methodology: I [...]
Groovy is Coming…
I’ve been trying to slowly integrate some Groovy into my normal Java coding. Here’s just one of the reasons why:
Java code:
Groovy code:
Note that this reduction in complexity happens almost everywhere I choose to use Groovy over Java. Of course there are myriad other ways I could have done this in Java (I even [...]

Recent Comments