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\SplString;
class SplStringBench
{
* @Revs(1000)
* @Iterations(5)
* @return void
public function benchCreateEmpty()
new SplString();
}
public function benchCreateTest()
new SplString('test');
public function benchCreateNumeric()
new SplString((string) mt_rand());