An open API service indexing awesome lists of open source software.

https://github.com/attogram/http-router-benchmark

PHP Router Benchmarks.
https://github.com/attogram/http-router-benchmark

php-router router-benchmark

Last synced: 3 months ago
JSON representation

PHP Router Benchmarks.

Awesome Lists containing this project

README

        

# http-router-benchmark

PHP Router Benchmarks.

* [docs](docs/)
* [example results](docs/results.md)

## Routers

* [attogram/router](https://github.com/attogram/router)
* [aura/router](https://github.com/aura/router)
* [nikic/fast-route](https://github.com/nikic/fast-route)
* [sunrise/http-router](https://github.com/sunrise/http-router)
* [zendframework/zend-router](https://github.com/zendframework/zend-router)

## Installation

```
# Clone repository
git clone [email protected]:sunrise-php/http-router-benchmark.git

# Install dependecies
composer install
```

## Run Benchmarks

unix:

```bash
php vendor/bin/phpbench run --report=routers --iterations=1000
```

windows:

```
vendor\bin\phpbench.bat run --report=routers --iterations=1000
```

* see