PHP Интерфейс PhpBench\Progress\LoggerInterface

Наследование: extends PhpBench\Console\OutputAwareInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

benchmarkEnd() публичный Метод

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

benchmarkStart() публичный Метод

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

endSuite() публичный Метод

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

iterationEnd() публичный Метод

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

iterationStart() публичный Метод

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

retryStart() публичный Метод

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

startSuite() публичный Метод

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

subjectEnd() публичный Метод

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

subjectStart() публичный Метод

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

variantEnd() публичный Метод

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

variantStart() публичный Метод

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