PHP Interface PhpBench\Progress\LoggerInterface

Inheritance: extends PhpBench\Console\OutputAwareInterface
Show file Open project: dantleech/phpbench

Public Methods

Method Description
benchmarkEnd ( Benchmark $benchmark ) Log the end of a benchmark.
benchmarkStart ( Benchmark $benchmark ) Log the start of a benchmark.
endSuite ( Suite $suite ) Called at the end of the suite run.
iterationEnd ( Iteration $iteration ) Log the end of an iteration.
iterationStart ( Iteration $iteration ) Log the start of an iteration.
retryStart ( integer $rejectionCount ) Log the number of retries to be made.
startSuite ( Suite $suite ) Called at the start of the suite run.
subjectEnd ( Subject $subject ) Log the end of a benchmarking subject.
subjectStart ( Subject $subject ) Log the end of a benchmarking subject.
variantEnd ( Variant $variant ) Log the end of an an iteration run.
variantStart ( Variant $variant ) Log the start of an iteration run.

Method Details

benchmarkEnd() public method

Log the end of a benchmark.
public benchmarkEnd ( Benchmark $benchmark )
$benchmark PhpBench\Model\Benchmark

benchmarkStart() public method

Log the start of a benchmark.
public benchmarkStart ( Benchmark $benchmark )
$benchmark PhpBench\Model\Benchmark

endSuite() public method

Called at the end of the suite run.
public endSuite ( Suite $suite )
$suite PhpBench\Model\Suite

iterationEnd() public method

Log the end of an iteration.
public iterationEnd ( Iteration $iteration )
$iteration PhpBench\Model\Iteration

iterationStart() public method

Log the start of an iteration.
public iterationStart ( Iteration $iteration )
$iteration PhpBench\Model\Iteration

retryStart() public method

Log the number of retries to be made.
public retryStart ( integer $rejectionCount )
$rejectionCount integer

startSuite() public method

Called at the start of the suite run.
public startSuite ( Suite $suite )
$suite PhpBench\Model\Suite

subjectEnd() public method

Log the end of a benchmarking subject.
public subjectEnd ( Subject $subject )
$subject PhpBench\Model\Subject

subjectStart() public method

Log the end of a benchmarking subject.
public subjectStart ( Subject $subject )
$subject PhpBench\Model\Subject

variantEnd() public method

Errors should be checked using Variant->hasException()
public variantEnd ( Variant $variant )
$variant PhpBench\Model\Variant

variantStart() public method

Log the start of an iteration run.
public variantStart ( Variant $variant )
$variant PhpBench\Model\Variant