Simple tool for measuring PHP execution time
- Super easy to use
- HTML visualisation
- No Dependencies
require("timetracker.php");
$timer = new timetracker("start"); // Example Description
// Some Code
$timer->add("All Includes Loaded");
// Some Code
$timer->add("DB Query finished");
// Some Code
$timer->add("Echoing Body");
The HTML Output:
$timer->htmlOut();
The Text Output:
$timer->logPeriods();
The Text Output of raw Timestamps:
$timer->logTimestamps();