]> Dogcows Code - chaz/p5-CGI-Ex/blobdiff - samples/benchmark/bench_template.pl
CGI::Ex 2.14
[chaz/p5-CGI-Ex] / samples / benchmark / bench_template.pl
index 36a4461193d0ba07aeb4819a00415703748064cd..17866dd1734460fe2ecf6162eb795f3a57693669 100644 (file)
@@ -46,12 +46,9 @@ my @config2 = (@config1, COMPILE_EXT => '.ttc');
 
 #use CGI::Ex::Template::XS;
 #my $tt1 = CGI::Ex::Template::XS->new(@config1);
-#my $tt2 = CGI::Ex::Template::XS->new(@config2);
 my $tt1 = Template->new(@config1);
-my $tt2 = Template->new(@config2);
 
-my $cet = CGI::Ex::Template->new(@config1);
-my $cetc = CGI::Ex::Template->new(@config2);
+my $cet = CGI::Ex::Template->new(@config1, compile_perl => 1);
 
 #$swap->{$_} = $_ for (1 .. 1000); # swap size affects benchmark speed
 
This page took 0.015868 seconds and 4 git commands to generate.