General ⇒ DVCS Info (Mercurial/CVS) ⇒ Profiler class ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDVCS Info (Mercurial/CVS)

Profiler class Reply to topic


<?php declare(ticks=1) { //code Profiler::start(); //code Profiler::stop(); //code }

You may enclose the entire script within the declare block, then move Profiler::start() and Profiler::stop() to benchmark.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: