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.
- Host: GitHub
- URL: https://github.com/attogram/http-router-benchmark
- Owner: attogram
- License: mit
- Created: 2019-06-04T15:59:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T20:41:20.000Z (almost 6 years ago)
- Last Synced: 2025-01-16T18:02:49.235Z (4 months ago)
- Topics: php-router, router-benchmark
- Language: PHP
- Homepage: https://attogram.github.io/http-router-benchmark/
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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