for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Part of SplTypes package.
*
* (c) Adrien Loyant <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Ducks\Component\SplTypes\Tests\benchmark;
use Ducks\Component\SplTypes\SplInt;
class SplIntBench
{
* @Revs(1000)
* @Iterations(5)
* @return void
public function benchCreateZero()
new SplInt();
}
public function benchCreateRand()
new SplInt(mt_rand());
public function benchCreateMin()
new SplInt(PHP_INT_MIN);
public function benchCreateMax()
new SplInt(PHP_INT_MAX);