class BenchHttpHttps extends Benchmarker {
public function __construct() {
parent::__construct();
- $this->mDescription = "Benchmark HTTP request vs HTTPS request.";
+ $this->addDescription( 'Benchmark HTTP request vs HTTPS request.' );
}
public function execute() {
}
static function doRequest( $proto ) {
- Http::get( "$proto://localhost/" );
+ Http::get( "$proto://localhost/", array(), __METHOD__ );
}
// bench function 1