So I tried to test php framework on my localhost (6 year old i7 pc) using:
wrk -t12 -c100 -d30s http://127.0.0.1
- Laravel without DB I've got: 698 request per second
- Cakephp: 1,400 rps
- Swoole : 197,000 rps
- Swoole with middleware (fastroute, etc) for API: 176,000 rps
Is wrk
reliable and I can tell to my boss that my api can process 170k request per second?