micro bench: FTL vs. GSP

Daniel Henrique Alves Lima <[email protected]>
Newsgroups gmane.comp.web.freemarker.devel
Message-ID <[email protected]>
    Hi, everybody.

    In this post about a micro benchmark 
(http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp), I 
suggested FreeMarker templates as an alternative 
(http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp/comment-page-1/#comment-22088) 
because, in my tests, FreeMarker seems really faster for this particular 
case 
(http://grails.1312388.n4.nabble.com/Template-GSP-vs-FTL-td3578664.html).
    But as a developer, I learned to always double check my tests and 
suspicious of any big differences in them.

    I must be unbiased here: Do you see any particular reason for 
FreeMarker performs so fast? My .ftl templates are here:
    
https://github.com/daniel-lima/blogpost_files/tree/master/grailsapp-fm-1.3.7/grails-app/views

    I also wondered about some weird bug that I might have accidentally 
introduced (some thread issue?) to make FreeMarker seems faster than it 
really is:
    
http://code.google.com/p/grails-freemarker-tags-plugin/source/browse/#svn%2Ftrunk

    I'm just checking to see if there is any obvious problem in my 
tests. I'm also waiting for "official" results: 
http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp.


    Thanks in advance.

          Best regards,

                Daniel.


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.