Simple benchmark tests with UBench

Code
<?php

$bench 
= new Ubench();

$bench->start();

// some code
$array1 range(110000);
$array2 range(110000);
$array array_merge($array1$array2);

$bench->end();

echo 
$bench->getTime() . PHP_EOL;

echo 
$bench->getMemoryPeak() . PHP_EOL;

echo 
$bench->getMemoryUsage() . PHP_EOL;
Result
0ms
4.00Mb
4.00Mb
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8