ePages 6.17.39 - DE_EPAGES/TLE/API/PerformanceHandler.pm

Package DE_EPAGES::TLE::API::PerformanceHandler

This tle handler provides functionalities around performance measurement.
This handler supports the following tle block:

Functions

TimeThis

TimeThis

Measures the processing time of a specified block within a template.

Syntax
#BLOCK("TimeThis", #Name)
Example
#BLOCK("TimeThis", "Name")
    CONTENT
#ENDBLOCK
#BLOCK("TimeThis", "Name", 1)
    CONTENT
#ENDBLOCK
Input
#Name (string)
name of the block
#Visible (boolean)
(optional; default: false) display output in the browser,
not just in the html comment