Template::Benchmark::Engines::HTMLMacro - Template::Benchmark plugin for HTML::Macro.


Provides benchmark functions and template feature syntaxes to allow Template::Benchmark to benchmark the HTML::Macro template engine.


Benchmark runs of Template::Benchmark::Engines::HTMLMacro are likely to take a lot longer time to run than expected.

HTML::Macro makes heavy use of Cwd and spends approximately 75% of its runtime waiting on system as given by these example figures:

  real    0m35.237s
  user    0m8.685s
  sys     0m26.062s

Since Template::Benchmark runs benchmarks for a duration based on user time, this causes the wallclock/realtime to be much greater than anticipated, currently by about a factor of 4.


Sam Graham, <libtemplate-benchmark-perl at>


Please report any bugs or feature requests to bug-template-benchmark at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Template::Benchmark::Engines::HTMLMacro

You can also look for information at:


Thanks to Paul Seamons for creating the the script distributed with Template::Alloy, which was the ultimate inspiration for this module.


Copyright 2010 Sam Graham.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.