Created
August 13, 2010 09:37
-
-
Save nihen/522622 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% perl benchmark/x-poor-env.pl | |
Perl/5.12.1 i686-linux | |
Text::Xslate/0.1056 | |
Template/2.22 | |
HTML::Template/2.9 | |
Text::MicroTemplate/0.15 | |
Text::MicroTemplate::Extended/0.11 | |
1..4 | |
ok 1 - TTerse: Text::Xslate::Syntax::TTerse | |
ok 2 - TT: Template-Toolkit | |
ok 3 - MT: Text::MicroTemplate | |
ok 4 - HT: HTML::Template | |
Benchmarks with 'include' (datasize=100) | |
Rate TTerse Xslate TT MT HT | |
TTerse 6.42/s -- -40% -73% -95% -95% | |
Xslate 10.8/s 68% -- -54% -91% -92% | |
TT 23.7/s 269% 120% -- -80% -82% | |
MT 120/s 1769% 1013% 407% -- -11% | |
HT 135/s 1996% 1148% 468% 12% -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xslateはキャッシュ無しのやつ