File manager - Edit - /var/www/html/portal/vendor/phpdocumentor/reflection/tests/bench/ProjectFactoryBench.php
Back
<?php namespace phpDocumentor\Reflection; use phpDocumentor\Reflection\File\LocalFile; use phpDocumentor\Reflection\Php\Factory\Method; /** * @BeforeMethods({"init"}) */ final class ProjectFactoryBench { /** * @var ProjectFactory */ private $factory; public function init() { $this->factory = \phpDocumentor\Reflection\Php\ProjectFactory::createInstance(); } /** * @Revs({1, 8, 64, 1024}) */ public function benchCreateSingleFileProject() { $this->factory->create('myProject', [new LocalFile(__DIR__ . '/../assets/phpunit_assert.php')]); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings