This is a small free PHP profiler, the functionality of which is specifically designed for the needs of web studios:
- to show potential areas where the client's website is slowing down;
- to measure how the load changes after installing a plugin, component, or developed theme;
- to evaluate which of the selected CMS is less cumbersome in accordance with the technical requirements of the new project.
The measured parameters are the number of PHP preprocessor ticks used, the amount of memory consumed in excess of the allocated amount, the time spent processing the browser request to the CMS under study, and the number of script files involved.
- The installer, uninstaller and measurement block are combined into one file
studyLIC-installer.php. - Built-in ability to save the measurement report as a static HTML file.
- Multilingual interface: English (default), Russian.
For testing purposes, a folder named app-example was also added to the repository, containing an application of 3 files.
- A web server, Apache 2.x, for example.
- PHP version 7.x or above.
-
Copy the
studyLIC-installer.phpfile to the directory of the application being analyzed. Let's assume that directory has the URL//localhost/app-example/. -
Open the URL
//localhost/app-example/studyLIC-installer.phpin your browser. That is the installer. It will automatically set observation points in all script files in your application and display a report as a file list. This moment is shown in the following demo screenshot.
An example of what the result of installing the profiler looks like.

Follow these steps for each app page you want to measure:
-
Open the URL of the page you're interested in in your browser, adding the GET parameter
studyLICto it. For example,//localhost/app-example?studyLIC. This will display a report with measurement data. This momemny is shown in the following screenshot. -
Click the
Download a copybutton at the bottom of the report to save it to your computer as a static HTML file for later viewing.
An example of what the measurement result looks like.

-
Copy the
studyLIC-installer.phpfile again to the directory of the application being analyzed. -
Open the same URL in your browser as during installation, but add the GET parameter
uninstallto it. For example,//localhost/app-example?uninstall. As a result, the profiler will automatically delete previously set observation points.
An example of what the result of removing the profiler looks like.

Did you like my work, but is there a detail missing? Please share your thoughts on how to improve the functionality. If I find it truly useful, I'll refine the profiler as soon as I have a free minute.