<?php
$bench = new Ubench();
$bench->start();
// some code
$array1 = range(1, 10000);
$array2 = range(1, 10000);
$array = array_merge($array1, $array2);
$bench->end();
echo $bench->getTime() . PHP_EOL;
echo $bench->getMemoryPeak() . PHP_EOL;
echo $bench->getMemoryUsage() . PHP_EOL;