4 ms·
I code in Ruby, Python and Groovy/Grails. I'm amazed that Grails performs so much better than the others.
by don_draper 14y ago
I code in Ruby, Python and Groovy/Grails. I'm amazed that Grails performs so much better than the others.
- pfg 14y agoI guess that's one of the big advantages JVM languages have. Using stuff like Spring or Hibernate (like Grails does), you benefit from thousands of person-hours spent on tuning those libraries and you still get native Java performance. Obviously there's a price you have to pay for all the things Grails built on top of Spring/Hibernate (in the benchmark it looks like Grails' performance = Spring / 2), but in general, it's still faster than just writing everything in Groovy (Ruby, Python, ...).
- msgilligan 14y agoIt would be interesting to see the results for Grails 2.2 (which uses Groovy 2 and Invoke Dynamic) One of the nice things about Grails is that you can easily drop down to the Spring and/or JVM level when needed for performance.
- don_draper 14y agoYup. I manage a Grails app where I wanted to speed up performance on a popular part of the app. So I replace the Grails controller with a servlet. I saw a bump in performance.
- vorg 14y agoGrails performs better than what? Ruby and Python are programming languages while Grails is a web framework.