I wrote a series of blog posts about Template Language Performance Comparisons, in which I describe a very simple benchmark ... this is the code used to do the comparisons.