https://github.com/rahimi-ali/octane-benchmark
Benchmark for Laravel Octane with different runners
https://github.com/rahimi-ali/octane-benchmark
backend laravel octane php
Last synced: about 2 months ago
JSON representation
Benchmark for Laravel Octane with different runners
- Host: GitHub
- URL: https://github.com/rahimi-ali/octane-benchmark
- Owner: rahimi-ali
- Created: 2024-02-29T07:08:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T19:02:32.000Z (over 2 years ago)
- Last Synced: 2025-12-26T08:35:35.560Z (6 months ago)
- Topics: backend, laravel, octane, php
- Language: PHP
- Homepage:
- Size: 82 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Octane Benchmark
All numbers are ratio of `fpm_without_opcache_mean / env_mean`, so higher is better.
## Ping (100req/s - 10s)
| Environment | Score |
|------------------------|-----------------|
| FPM No OpCache | 1 |
| Octane With Swoole | 1652 |
| Octane With OpenSwoole | 1418 |
| Octane With RoadRunner | 1383 |
| Octane With FrankenPHP | 0.15 |
| FPM With OpCache | 642 |
## Hash (50req/s - 10s)
| Environment | Score |
|------------------------|-----------------|
| FPM No OpCache | 1 |
| Octane With Swoole | 1.12 |
| Octane With OpenSwoole | 1.12 |
| Octane With RoadRunner | 1.11 |
| Octane With FrankenPHP | 1.09 |
| FPM With OpCache | 1.11 |
- None of the environments handled all the requests in the allowed `30sec` time.
## Products (400req/s - 10s) (MySQL read from a table with 1Mil rows)
| Environment | Score |
|------------------------|-----------------|
| FPM No OpCache | 1 |
| Octane With Swoole | 3781 |
| Octane With OpenSwoole | 3701 |
| Octane With RoadRunner | 96 |
| Octane With FrankenPHP | 0.8 |
| FPM With OpCache | 5.4 |
- FPM No OpCache did not handle all the requests in the allowed `30sec` time.
- Octane with FrankenPHP did not handle all the requests in the allowed `30sec` time.
## Order (100req/s - 10s) (MySQL read and write)
| Environment | Score |
|------------------------|-----------------|
| FPM No OpCache | 1 |
| Octane With Swoole | 1.62 |
| Octane With OpenSwoole | 1.57 |
| Octane With RoadRunner | 1.53 |
| Octane With FrankenPHP | 0.46 |
| FPM With OpCache | 1.69 |