Download the PHP package rein/profiler without Composer
On this page you can find all versions of the php package rein/profiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rein/profiler
More information about rein/profiler
Files in rein/profiler
Download rein/profiler
More information about rein/profiler
Files in rein/profiler
Please rate this library. Is it a good library?
Informations about the package profiler
Native PHP Profiler
To use the profiler, you must define in environment variables PROFILE_MODE
:
- "OFF" (or empty) - don't run profiler.
- "TIMING" - calculate the running time of the application.
- "TRACE" - full functions tracing.
To examine any script, it must contain definition ticks = 1
or was included via Profiler::include
.
You can declare ticks = 1
at the beginning of the root script to test it too.
Test results can be obtained by calling the profiler and specifying the "onShutdown" method. Example:
rein\profiler\Profiler::getInstance() ->onShutdown = fn(array $timings) => var_dump($timings);
All versions of profiler with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package rein/profiler contains the following files
Loading the files please wait ....