[stringtemplate-interest] Stringtemplate performances : some figures

Mathieu Clabaut mathieu.clabaut at gmail.com
Sun Mar 1 12:16:26 PST 2009


Hello,

 I was in the process on doing a prototype in python to validate the use of
template engine for some export task inside the Rodin Platform (
http://wiki.event-b.org).
 I was quite disappointed stringtemplate performances in python: The export
of a (quite big) model took 49,7 seconds.
 So I tried Mako which is reputed to be quite fast (albeit 3 times slower
than tenjin : http://www.kuwata-lab.com/tenjin/), and I get the same result
(Same overhead outside of template generation, and very similar template) in
8,7s.

 This led to two questions:
 - Do you know of some ways to improve strigtemplate performances ?
 - Are java stringtemplate performances better, or quite the same than those
of python (I didn't find any benchmark with Stringtemplate on the net) ?

 Thank you for your help,
-Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20090301/81b414e4/attachment.html 


More information about the stringtemplate-interest mailing list