in reply to Re^7: developing a template system
in thread developing a template system

interesting - i guess i'll extend the benchmark script a bit so that it runs for different template sizes. The results seem to differ very much. How are you testing?

I'm on Linux 2.6.10-5-amd64-xeon, perl 5.8.4.

Replies are listed 'Best First'.
Re^9: developing a template system
by perrin (Chancellor) on Aug 22, 2005 at 16:30 UTC
    I am just running it through 5000 iterations. I did comment out the "new" part of the benchmark, since I don't find that bit interesting. I am just looking at the "output" times.
      i added some more tests in later versions. current version ist 0.380.39. i think the interesting part is new+param+output, and with that and a 18k template i get:
      all_ht: 1 wallclock secs ( 1.00 usr + 0.00 sys = 1.00 CPU) @ 20.00/ +s (n=20) all_htc: 1 wallclock secs ( 1.07 usr + 0.00 sys = 1.07 CPU) @ 120.56 +/s (n=129) all_htj: 1 wallclock secs ( 1.08 usr + 0.02 sys = 1.10 CPU) @ 763.64 +/s (n=840)