java - Grails vs Spring performance for REST -


i've created rest endpoints using pure groovy/grails. of operations crud-like.

i'm beginning compare performance of grails app equivalent java/spring app crud scenarios i've made, using jmeter. i'm taking subset of scenarios i've implemented in grails , porting basic spring mvc app.

i'm interested in seeing performance comparisons published others on web. can refer me some?

any other information in regards testing , analysis i'm going welcome. thanks!


update regarding answer:

  • @lari's answer below references website extremely comprehensive tests, comparing grails 2.x vs spring 4.x (see readme.md), in addition multitude of other frameworks.
    • however, tests have grails running on resin while spring on tomcat. little strange me since grails uses tomcat default.
    • resin , tomcat arguably have similar performance.
  • the website has several sections (tabs on top) , subsections (tabs in "results" area). original question regarding web service behavior rest. end here top-level sections answered question:
  • if you're interested in html rendering see fortune cookie example.

not surprisingly spring better, @joshua points out, contrived example , have judge of extrapolate results. not mention grails used resin while spring used tomcat. each server (tomcat / resin) configured in terms of max threads, java memory, etc? config files may buried in source code (if find out, let me know).

i setup dummy applications spring 4.x vs grails 2.x, tomcat being configured same (both used same standalone tomcat installation rather 1 bundled inside grails). in tests performed http , returned json array formed using static (pre-instantiated) in-memory objects (no db query). results showed better performance spring (sorry can't find data longer!). used spring boot slap spring app quickly, , grails has scaffolding default.

there http://www.techempower.com/benchmarks/ . source code @ github.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -