Fair enough! I'll rerun the benchmarks in Rails, with maximum ugliness :-)
I don't want to besmirch the good name of either Haml or ERB,
especially since Erector is meant as an alternative for design's sake,
not speed. And as I wrote in the FAQ, "We should point out, of course,
that the choice of templating engines by itself is not what will make
your application scalable. The effectiveness of your caching policy
will dwarf that of your rendering engine in nearly all cases."
(To be perfectly honest, the reason I did the original off-the-cuff
benchmarks in Sinatra is because I don't understand Rails template
caching and other under-the-hood machinery very well, and I wanted to
make sure I personally understood exactly what was going on. I guess
it's time to crack open the Rails source code again... sigh.)
---
Alex Chaffee -
al...@cohuman.com -
http://alexch.github.com
Stalk me:
http://friendfeed.com/alexch |
http://twitter.com/alexch |
http://alexch.tumblr.com