This benchmark runs with cache disabled for all of Symfony, Fastroute, and HackRouting.
The (matcher/dispatcher/resolver) is being created in each iteration from scratch.
- FastRoute
- Symfony
- HackRouting
<?php | |
declare(strict_types=1); | |
namespace App; | |
enum ArticleStatus { | |
case Published; | |
case Draft; | |
case Archived; |
<?php | |
declare(strict_types=1); | |
namespace App; | |
struct User { | |
string $identifier; | |
} |
<?php | |
declare(strict_types=1); | |
use Psl\Async; | |
use Psl\IO; | |
require 'vendor/autoload.php'; | |
function fetch(string $id): string { |
<?php | |
/** | |
* @context={} | |
*/ | |
function foo(): void {} | |
/** | |
* @context={io} |
I hereby claim:
To claim this, I am signing this object:
namespace Nuxed\Console\Log; | |
use namespace HH\Lib\Str; | |
use namespace Nuxed\Console; | |
use namespace Nuxed\Console\Output; | |
use namespace Nuxed\Contract\Log; | |
final class Logger implements Log\ILogger { | |
public function __construct(private Output\IOutput $output) {} |
<?php | |
declare(strict_types=1); | |
namespace BetterApplication; | |
use FFI; | |
use Closure; | |
abstract class AbstractZendWriter |
<?php | |
declare(strict_types=1); | |
namespace AzJezz\BrainFuck; | |
use ArrayIterator; | |
use Iterator; | |
use RuntimeException; |
{ | |
"name": "My Application", | |
"base-path": "app/", | |
"entry": "app/bin/application.hack", | |
"compression-algorithm": "gzip", | |
"signing-algorithm": "sha512", | |
"include": [ | |
"app/src/*", | |
"app/vendor/*" | |
], |