seedifferently/the-great-web-framework-shootout — pull request #44 by divideby0 (2012-04-23 06:48:48+00:00)
Title: Grails 2.0.3 

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 which should run all the tests for you.