NullProfiler
class NullProfiler implements ProfilerInterface (View source)
The NullProfiler class.
Methods
Mark a profile point.
Check if the profiler has marked the given point.
Get the point identified by the given name.
Get the elapsed time in seconds between the two points.
Get the amount of allocated memory in bytes between the two points.
Get the memory peak in bytes during the profiler run.
Get the points in this profiler (from the first to the last).
Render the profiler.
Get the name of this profiler.
Details
at line line 30
ProfilerInterface
mark(string $name)
Mark a profile point.
at line line 42
boolean
hasPoint(string $name)
Check if the profiler has marked the given point.
at line line 54
ProfilerPointInterface
getPoint(string $name)
Get the point identified by the given name.
at line line 69
float
getTimeBetween(string $first, string $second)
Get the elapsed time in seconds between the two points.
at line line 84
integer
getMemoryBetween(string $first, string $second)
Get the amount of allocated memory in bytes between the two points.
at line line 94
integer
getMemoryPeakBytes()
Get the memory peak in bytes during the profiler run.
at line line 104
ProfilerPointInterface[]
getPoints()
Get the points in this profiler (from the first to the last).
at line line 114
string
render()
Render the profiler.
at line line 124
string
getName()
Get the name of this profiler.