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
1ms
6.00Mb
6.00Mb
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6