Home Benchmark protocol History Comparator
.
PHP Symfony Zend Framework Laravel CakePHP

Symfony

Tool     PHP     Symfony

Summary

27,495

Release 4.0 11/30/17
Benchmarked version Symfony 4.0.0
Files 2,830
Code lines 242,863
Size 10.2 Mo
Source code https://github.com/phpbenchmarks/symfony-4-0

Hello World

Showing Hello World text, without template and database.


19,026

Memory 839.4 Ko
Memory peak 846.8 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 228
Declared interfaces 47
Declared traits 3
Defined functions 2
Defined constants 1,551
Concurrency : 1
856
Requests per second
1.2 ms
Average time per request
0
Errors
Concurrency : 5
5,744
Requests per second
0.9 ms
Average time per request
0
Errors
Concurrency : 10
6,249
Requests per second
1.6 ms
Average time per request
0
Errors
Concurrency : 20
6,177
Requests per second
3.2 ms
Average time per request
0
Errors

Rest API

Typical Rest API, called with GET, return JSON.
Use JSON transformation for 20 objects, each containing 2 Comment objects,
each containing 1 CommentType object.
Define random language among fr_FR, en_GB and aa_BB (to use fallback) with an event.
Translate 100 keys among 5,000, use a route among 500.


8,469

Memory 1.1 Mo
Memory peak 1.2 Mo
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 289
Declared interfaces 74
Declared traits 9
Defined functions 2
Defined constants 1,551
Concurrency : 1
435
Requests per second
2.3 ms
Average time per request
0
Errors
Concurrency : 5
2,543
Requests per second
2 ms
Average time per request
0
Errors
Concurrency : 10
2,751
Requests per second
3.6 ms
Average time per request
0
Errors
Concurrency : 20
2,740
Requests per second
7.3 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON