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

Symfony

Tool     PHP     Symfony

Summary

14,277

Release 3.4 11/30/17
Benchmarked version Symfony 3.4.1
Files 6,824
Code lines 1,303,005
Size 31.9 Mo
ORM Doctrine 2.5.13
Template engine Twig 1.35.0 (PHP 5.6), 2.4.4 (PHP 7.0 - 7.1 - 7.2)
Source code https://github.com/phpbenchmarks/symfony-3-4

Hello World

Showing Hello World text, without template and database.


9,160

Memory 1.3 Mo
Memory peak 1.4 Mo
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 316
Declared interfaces 82
Declared traits 10
Defined functions 2
Defined constants 1,551
Concurrency : 1
542
Requests per second
1.8 ms
Average time per request
0
Errors
Concurrency : 5
2,716
Requests per second
1.8 ms
Average time per request
0
Errors
Concurrency : 10
2,942
Requests per second
3.4 ms
Average time per request
0
Errors
Concurrency : 20
2,960
Requests per second
6.8 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.


5,117

Memory 1.7 Mo
Memory peak 1.8 Mo
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 359
Declared interfaces 98
Declared traits 13
Defined functions 2
Defined constants 1,551
Concurrency : 1
335
Requests per second
3 ms
Average time per request
0
Errors
Concurrency : 5
1,537
Requests per second
3.3 ms
Average time per request
0
Errors
Concurrency : 10
1,621
Requests per second
6.2 ms
Average time per request
0
Errors
Concurrency : 20
1,624
Requests per second
12.3 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON