This commit is contained in:
Juan Pablo Vial
2024-03-20 23:06:38 -03:00
parent 2ed265dcf1
commit f3a5fa2cdc
5 changed files with 38 additions and 53 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace ProVM\Performance;
use GuzzleHttp\Client;
use PHPUnit\Framework;
class HomeTest extends Framework\TestCase
{
public function testLoad(): void
{
$client = new Client(['base_uri' => 'http://proxy']);
$start = microtime(true);
$response = $client->get('');
$end = microtime(true);
$this->assertLessThanOrEqual(1000, $end - $start);
}
}