MediaWiki master
BenchmarkEval Class Reference

Benchmark any provided code for ad-hoc benchmarks. More...

Inherits Benchmarker.

Collaboration diagram for BenchmarkEval:

Public Member Functions

 __construct ()
 
 execute ()
 

Detailed Description

Benchmark any provided code for ad-hoc benchmarks.

Usage:

$ php benchmarkEval.php –code "Html::openElement( 'a', [ 'class' => 'foo' ] );" $ echo "Html::openElement( 'a', [ 'class' => 'foo' ] );" | php benchmarkEval.php $ php benchmarkEval.php input.txt

Definition at line 18 of file benchmarkEval.php.

Constructor & Destructor Documentation

◆ __construct()

BenchmarkEval::__construct ( )

Definition at line 19 of file benchmarkEval.php.

Member Function Documentation

◆ execute()

BenchmarkEval::execute ( )

Definition at line 32 of file benchmarkEval.php.


The documentation for this class was generated from the following file: