REST API
It contains 500 routes, 15,000 translations and return 100 PHP objects serialized in JSON.
An event is triggered to randomly define language and benchmark event dispatcher.
No database access is made, to not influence the results.
Call | GET | |
---|---|---|
Routes | 500 configured, 1 used (the first one). | Example |
Langue | Random between fr_FR, en_GB and aa_BB (to use fallback system to en language). Will be defined by an event triggered before serialization. |
Example |
Translations | 5,000 configured by language (15,000 in total). 100 translation keys will be translated by serialization. |
Example |
Data | 100 objects: 20 User, 40 Comment and 40 CommentType. Properties serialization: 100 integers, 200 strings and 20 \DateTime objects. Objects are already created, they do not come from database. |
Serialized data |
Response | JSON serialization of 100 objets (7,021 characters). | Example |
PHP
Frameworks
#1 Ubiquity 2.1 | 0.9 ms |
39,736
|
|
#2 Symlex 4.2 | 1.5 ms |
22,377
|
|
#3 Symfony 5.0 | 2.1 ms |
14,923
|
|
#4 Yii 2.0 | 3.2 ms |
8,329
|
|
#5 Zend Framework 3.0 | 3.9 ms |
6,921
|