Skip to content

Instantly share code, notes, and snippets.

View ksco's full-sized avatar
🏠
Working from home

Yang Liu ksco

🏠
Working from home
View GitHub Profile
@nikic
nikic / routing_bench.php
Created February 17, 2014 11:46
Microbenchmark between Pux and FastRoute
<?php
error_reporting(E_ALL);
require __DIR__ . '/FastRoute/src/bootstrap.php';
spl_autoload_register(function ($class) {
require __DIR__ . '/Pux/src/' . strtr($class, '\\', '/') . '.php';
});