MediaWiki master
BenchmarkTitleValue Class Reference

Maintenance script that benchmarks TitleValue vs Title. More...

Inherits Benchmarker.

Collaboration diagram for BenchmarkTitleValue:

Public Member Functions

 __construct ()
 
 execute ()
 

Protected Member Functions

 constructTitle ()
 
 constructTitleSafe ()
 
 constructTitleValue ()
 
 getPrefixedTextTitle ()
 
 getPrefixedTextTitleValue ()
 
 parseTitle ()
 
 parseTitleValue ()
 
 randomize ()
 Use a different dbKey each time to avoid influence of Title caches.
 

Detailed Description

Maintenance script that benchmarks TitleValue vs Title.

Definition at line 35 of file benchmarkTitleValue.php.

Constructor & Destructor Documentation

◆ __construct()

BenchmarkTitleValue::__construct ( )

Definition at line 64 of file benchmarkTitleValue.php.

Member Function Documentation

◆ constructTitle()

BenchmarkTitleValue::constructTitle ( )
protected

Definition at line 121 of file benchmarkTitleValue.php.

References NS_CATEGORY.

Referenced by execute().

◆ constructTitleSafe()

BenchmarkTitleValue::constructTitleSafe ( )
protected

Definition at line 125 of file benchmarkTitleValue.php.

References NS_CATEGORY.

◆ constructTitleValue()

BenchmarkTitleValue::constructTitleValue ( )
protected

Definition at line 117 of file benchmarkTitleValue.php.

References NS_CATEGORY.

Referenced by execute().

◆ execute()

BenchmarkTitleValue::execute ( )

Definition at line 69 of file benchmarkTitleValue.php.

References constructTitle(), and constructTitleValue().

◆ getPrefixedTextTitle()

BenchmarkTitleValue::getPrefixedTextTitle ( )
protected

Definition at line 134 of file benchmarkTitleValue.php.

◆ getPrefixedTextTitleValue()

BenchmarkTitleValue::getPrefixedTextTitleValue ( )
protected

Definition at line 129 of file benchmarkTitleValue.php.

◆ parseTitle()

BenchmarkTitleValue::parseTitle ( )
protected

Definition at line 143 of file benchmarkTitleValue.php.

◆ parseTitleValue()

BenchmarkTitleValue::parseTitleValue ( )
protected

Definition at line 138 of file benchmarkTitleValue.php.

References NS_MAIN.

◆ randomize()

BenchmarkTitleValue::randomize ( )
protected

Use a different dbKey each time to avoid influence of Title caches.

Definition at line 113 of file benchmarkTitleValue.php.

References wfRandomString().


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