PHP 클래스 PhpBench\Tests\Unit\Benchmark\Executor\MicrotimeExecutorTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testExecute ( ) It should create a script which benchmarks the code and returns the time taken and the memory used.
testExecuteAfter ( ) It should execute methods after the benchmark subject.
testExecuteBefore ( ) It should execute methods before the benchmark subject.
testExecuteMethods ( ) It should execute arbitrary methods on the benchmark class.
testParameters ( ) It should pass parameters to the benchmark method.
testParametersBeforeSubject ( ) It should pass parameters to the before metadata and after metadata methods.
testRepressOutput ( ) It should prevent output from the benchmarking class.

비공개 메소드들

메소드 설명
removeTemporaryFiles ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testExecute() 공개 메소드

It should create a script which benchmarks the code and returns the time taken and the memory used.
public testExecute ( )

testExecuteAfter() 공개 메소드

It should execute methods after the benchmark subject.
public testExecuteAfter ( )

testExecuteBefore() 공개 메소드

It should execute methods before the benchmark subject.
public testExecuteBefore ( )

testExecuteMethods() 공개 메소드

It should execute arbitrary methods on the benchmark class.
public testExecuteMethods ( )

testParameters() 공개 메소드

It should pass parameters to the benchmark method.
public testParameters ( )

testParametersBeforeSubject() 공개 메소드

It should pass parameters to the before metadata and after metadata methods.

testRepressOutput() 공개 메소드

It should prevent output from the benchmarking class.
public testRepressOutput ( )