IDS PHP Libraries

Performance
in package
uses Loggable

Table of Contents

Properties

$endTime  : float|null
$lastTime  : float|null
$logger  : object|null
$startTime  : float|null

Methods

__construct()  : mixed
callerLine()  : int
end()  : mixed
formatTime()  : mixed
log()  : void
mark()  : mixed
result()  : string
Gibt Performance Test Ergebnis zurück
start()  : mixed

Properties

$logger

private object|null $logger = null

Methods

callerLine()

public callerLine() : int
Return values
int

formatTime()

public formatTime(float $duration) : mixed
Parameters
$duration : float

log()

public log([mixed $message = '' ][, string $level = 'info' ][, mixed $backtrace = null ][, int $spacing = 0 ]) : void
Parameters
$message : mixed = ''
$level : string = 'info'
$backtrace : mixed = null
$spacing : int = 0

mark()

public mark([string $label = '' ]) : mixed
Parameters
$label : string = ''

result()

Gibt Performance Test Ergebnis zurück

public result() : string
Return values
string

Ergebnis als string.


        
On this page

Search results