MediaWiki  REL1_20
bench_HTTP_HTTPS Class Reference

Maintenance script that benchmarks HTTP request vs HTTPS request. More...

Inheritance diagram for bench_HTTP_HTTPS:
Collaboration diagram for bench_HTTP_HTTPS:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.
 getHTTP ()
 getHTTPS ()

Static Public Member Functions

static doRequest ($proto)

Detailed Description

Maintenance script that benchmarks HTTP request vs HTTPS request.

Definition at line 34 of file bench_HTTP_HTTPS.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Benchmarker.

Definition at line 36 of file bench_HTTP_HTTPS.php.


Member Function Documentation

static bench_HTTP_HTTPS::doRequest ( proto) [static]

Definition at line 49 of file bench_HTTP_HTTPS.php.

References Http\get().

Referenced by getHTTP(), and getHTTPS().

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 41 of file bench_HTTP_HTTPS.php.

References Benchmarker\bench(), Benchmarker\getFormattedResults(), and print.

Definition at line 54 of file bench_HTTP_HTTPS.php.

References doRequest().

Definition at line 59 of file bench_HTTP_HTTPS.php.

References doRequest().


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