Skip to content

Commit 112796e

Browse files
authored
Merge pull request #718 from flightphp/replace-table-with-chart-in-readme
Replace frameworks comparison table with Mermaid bar chart in README
2 parents 5372672 + cb27287 commit 112796e

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,20 @@ Yes! Flight is fast. It is one of the fastest PHP frameworks available. You can
3737

3838
See the benchmark below with some other popular PHP frameworks. This is measured in requests processed within the same timeframe.
3939

40-
| Framework | Plaintext Requests| JSON Requests|
41-
| --------- | ------------ | ------------ |
42-
| Flight | 190,421 | 182,491 |
43-
| Yii | 145,749 | 131,434 |
44-
| Fat-Free | 139,238 | 133,952 |
45-
| Slim | 89,588 | 87,348 |
46-
| Phalcon | 95,911 | 87,675 |
47-
| Symfony | 65,053 | 63,237 |
48-
| Lumen | 40,572 | 39,700 |
49-
| Laravel | 26,657 | 26,901 |
50-
| CodeIgniter | 20,628 | 19,901 |
40+
```mermaid
41+
---
42+
config:
43+
xyChart:
44+
showDataLabel: true
45+
---
46+
xychart-beta
47+
title "PHP Framework Performance (TechEmpower, requests/sec)"
48+
x-axis "Framework" ["Flight", "Yii", "Fat-Free", "Slim", "Phalcon", "Symfony", "Lumen", "Laravel", "CodeIgniter"]
49+
y-axis "Requests/sec (x1000)" 0 --> 200
50+
%% Series 1: Plaintext, Series 2: JSON
51+
bar [190.4, 145.7, 139.2, 89.6, 95.9, 65.1, 40.6, 26.7, 20.6]
52+
bar [182.5, 131.4, 134.0, 87.3, 87.7, 63.2, 39.7, 26.9, 19.9]
53+
```
5154

5255
## Skeleton App
5356

0 commit comments

Comments
 (0)