This RenderTime Example
This example shows how you can measure the time taken by a single macro.
Smartsite SXML | Copy Code |
---|---|
<se:sqlquery id="mymacro" sql="select count(nr) from vwActive" /> The sqlquery took {page.mymacro.rendertime(true)}ms. |
Example Result | Copy Code |
---|---|
<moduleresult id="mymacro"> <row> <Column1>3606</Column1> </row> </moduleresult> The sqlquery took 11ms. |