This benchmarks a component that ends up making a lot of calls to $m->print.
$m->print
By default, it calls the same component 1000 times. If you give it an argument it will call the component this many times instead.
To install HTML::Mason, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Mason
CPAN shell
perl -MCPAN -e shell install HTML::Mason
For more information on module installation, please visit the detailed CPAN module installation guide.