Template::Timer provides inline timings of the template processing
througout your code. It's an overridden version of Template::Context
that wraps the process() and include() methods.

Homepage:
https://metacpan.org/release/Template-Timer
