for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AlecRabbit\Tools\Internal;
class BenchmarkRelative
{
/** @var float */
private $relative;
private $average;
/**
* BenchmarkRelative constructor.
* @param float $relative
* @param float $average
*/
public function __construct(float $relative, float $average)
$this->relative = $relative;
$this->average = $average;
}
* @return float
public function getRelative(): float
return $this->relative;
public function getAverage(): float
return $this->average;