PerformanceTest
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- getResult() : float
- run() : self
Properties
$runs
protected
int
$runs
$total
protected
int
$total
= 0
Methods
__construct()
public
__construct([int $runs = 1000 ]) : mixed
Parameters
- $runs : int = 1000
getResult()
public
getResult() : float
Return values
floatrun()
public
run(Closure $subject) : self
Parameters
- $subject : Closure