X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=samples%2Fbenchmark%2Fbench_template.pl;h=36a4461193d0ba07aeb4819a00415703748064cd;hp=6b0f77b9548a786f7ba69ed848db56fb7aeb76d9;hb=f30b8252fcf71659a2fd3b5895e009ff8e39299d;hpb=8a1796477c5a835d8c124cfa8504909dc786d93b diff --git a/samples/benchmark/bench_template.pl b/samples/benchmark/bench_template.pl index 6b0f77b..36a4461 100644 --- a/samples/benchmark/bench_template.pl +++ b/samples/benchmark/bench_template.pl @@ -168,8 +168,9 @@ my $tests = { # '43_filteruri' => "[% ' ' | uri %]", # 132% # 550% # 379% # 471% # 12524.4/s # '44_filterevl' => "[% foo | eval %]", # 303% # 530% # 434% # 478% # 5475.5/s # '45_capture' => "[% foo = BLOCK %]Hi[% END %][% foo %]", # 102% # 386% # 291% # 304% # 10606.5/s # - '46_complex' => "$longer_template", # 60% # 290% # 160% # 270% # 1054.3/s # - '47_hello2000' => "$hello2000", # 2% # 136% # 39% # 115% # 184.8/s # + '46_refs' => "[% b = \\code(1); b(2) %]", # 60% # 270% # 239% # 174% # 6451.9/s # + '47_complex' => "$longer_template", # 60% # 290% # 160% # 270% # 1054.3/s # + '48_hello2000' => "$hello2000", # 2% # 136% # 39% # 115% # 184.8/s # # overall # 95% # 406% # 251% # 346% #