Thread HTML::Template::Compiled (HTC) (209 answers)
Opened by renee at 2005-06-26 15:48

pq
 2005-08-20 19:33
#40814 #40814
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
irgendwie traue ich meinen eigenen benchmarks nicht mehr:
Code: (dl )
1
2
3
4
5
6
    all_htc:  5 wallclock secs ( 4.29 usr +  0.00 sys =  4.29 CPU) @ 1974.59/s (n=8471)
   all_htj:  5 wallclock secs ( 4.06 usr +  0.11 sys =  4.17 CPU) @ 2186.57/s (n=9118)
   new_htc:  4 wallclock secs ( 4.10 usr +  0.00 sys =  4.10 CPU) @ 11778.05/s (n=48290)
   new_htj:  4 wallclock secs ( 3.88 usr +  0.35 sys =  4.23 CPU) @ 8275.65/s (n=35006)
output_htc:  4 wallclock secs ( 4.17 usr +  0.00 sys =  4.17 CPU) @ 22385.37/s (n=93347)
output_htj:  5 wallclock secs ( 4.25 usr +  0.00 sys =  4.25 CPU) @ 3218.35/s (n=13678)

wie kann HTC bei new_ und output_ jeweils schneller sein als HTJ (H::T::JIT),
aber bei all_ (was effektiv ein new und ein output macht), langsamer?

p.s.: HTML-Template-Compiled-0.35.tar.gz\n\n

<!--EDIT|pq|1124554710-->
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread HTML::Template::Compiled (HTC)