the-great-web-framework-shootout icon indicating copy to clipboard operation
the-great-web-framework-shootout copied to clipboard

Grails 2.0.3

Open divideby0 opened this issue 13 years ago • 2 comments

Apologies for the original pull request, I selected the wrong branch to merge into...

I've prepared a Grails contribution per the issue request here: https://github.com/seedifferently/the-great-web-framework-shootout/issues/3.

Grails is a popular framework for the Java Virtual Machine. Most Grails app code is written in the Groovy language. Grails is backed by SpringSource/VMWare. While similar in purpose and design to Rails or Django, it takes advantage of Spring and Hibernate for some of its heavy lifting.

I did some testing on an EC2 large instance per the specs in the README. Each of the tests was sample with ten rounds of ab -n 10000 -c 10 and here are the results:

average string times: 1658.94 reqs/sec
average template times: 1410.57 reqs/sec
average sql times: 697.57 reqs/sec

If these numbers remain consistent with your original setup, this puts Grails slightly above Rails and Django performance, though not quite as fast as some of the micro-frameworks.

If you want to try it out for yourself, I've bundled an AMI with everything ready-to-go at ami-1a578c73. There's a grails-benchmark.py script in the /home/shootout folder that should run all the tests for you.

divideby0 avatar Apr 23 '12 06:04 divideby0

Thanks. Things are going slower than I had hoped on my end but I will look into merging this into the next update.

seedifferently avatar Apr 23 '12 18:04 seedifferently

Cool. I may provide more straightforward directions for deploying and testing via screencast sometime soon. I'm also interested in creating examples for lift, scalatra, and noir at some point. SpringMVC+Hibernate might be a good baseline example for the traditional "enterprise" stack as well. I don't have a ton of experience with fabric, but I might be able to at least provide a bash script for getting everything set up and configured.

Sent from my iPad

On Apr 23, 2012, at 1:50 PM, Seth Davis [email protected] wrote:

Thanks. Things are going slower than I had hoped on my end but I will look into merging this into the next update.


Reply to this email directly or view it on GitHub: https://github.com/seedifferently/the-great-web-framework-shootout/pull/44#issuecomment-5288514

divideby0 avatar Apr 23 '12 18:04 divideby0