Groovy
Groovy Profiling with Gprof
Did you ever wonder which part of your groovy code is hindering your algorithm performance? This part of the @groovyalgorithm series shows how to use Gprof to find the culprit.
Groovy Benchmarking with GBench
Another great post of the @groovyalgorithm series. I learned why the use of System.nanoTime() to benchmark can be problematic and how to use GBench instead.
Spock
Drop the clutter: lightweight tests with Spock on Vimeo
This week @geecon (13 - 15 May) was hosted in Kraków. I looked into their video archive and found a great Spock talk by @piotrbetkier. A lot of code examples. I learned a trick or two to make my tests more readable and self-explanatory when they fail.
Sponsored Jobs
Video
APIs with Grails 3 and OAuth 2
@bobbywarner published a great screencast that illustrates how to use Grails 3 and OAuth 2. It resembles the way we used to setup Spring Security Core Plugin. He shows how to use Client Credentials and Password Grant Types. In 36 minutes I overcame my fears about keep using Grails 2.5 until Spring Security Core Plugin moves to Grails 3.
Libraries
My First Ratpack App - What I Learned
Brendon Anderson at @objectpartners published a great introduction to Ratpack. Interesting the comparison of Ratpack and SpringBoot threading model. Definitely a great read to familiarise with Ratpack.
Comment
Normally I write Groovy Dev Weekly on Friday. You have to apologise me for this week's delay. I had personal stuff going on. We spawned a new process. My wife delivered our first baby last Tuesday :-) So, this week's issue is short but it contains great links.
Groovy Dev Weekly