Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-01-10 (3 days ago) ![]() | ![]() ![]() ![]() ![]() | Total: 254 This week: 4 | All time: 7,851 This week: 102![]() |
Version | License | PHP version | Categories | |||
xbenchmark 1.11 | Freeware | 5.2 | PHP 5, Logging, Performance and optim... |
Description | Author | |||
This class can log time and resources used during PHP script execution until they exit without having to change the actual script code. Innovation Award
|
|
Benchmark trace & log any php, without modifying a single line of code. Usefull to trace access, monitoring run times & ram and debugging params (get / post / argv).
Copy XBenchmark.php anywhere on your system.
Works either in Windows & Linux
Modify your php.ini:
auto_prepend_file = /absolute/path/to/XBenchmark.php
Modify the .htaccess file under your DOCUMENT_ROOT dir, add:
php_value auto_prepend_file /absolute/path/to/XBenchmark.php
Modify your PHP file, put on top:
include_once "/absolute/path/to/XBenchmark.php";
In any case, verify that you have permissions on the XBENCHMARK_LOGS_DIR specified, and assign correct path to the XBenchmark.php file
After apache restart (only in "Method 1" needed),
Go to any website under your apache envieronment. You will have all logs saved under XBENCHMARK_LOGS_DIR/HOST.
![]() |
File | Role | Description |
---|---|---|
![]() |
Doc. | Log file |
![]() |
Doc. | Readme |
![]() |
Class | Xbenchmark |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
Github project |