This RenderTime Example

This example shows how you can measure the time taken by a single macro.

Smartsite SXML CopyCode image Copy Code
<se:sqlquery id="mymacro" sql="select count(nr) from vwActive" />
The sqlquery took {page.mymacro.rendertime(true)}ms.
Example Result CopyCode image Copy Code
<moduleresult id="mymacro">
  <row>
    <Column1>3606</Column1>
  </row>
</moduleresult>
The sqlquery took 11ms.