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

Symfony

Tool     PHP     Symfony

Summary

17,069

Release 2.8 11/30/15
Benchmarked version Symfony 2.8.28
Files 5,994
Code lines 749,860
Size 29.7 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-2-8

Hello World

Showing Hello World text, without template and database.


10,929

Memory 1.3 Mo
Memory peak 1.4 Mo
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 301
Declared interfaces 68
Declared traits 0
Defined functions 2
Defined constants 1,551
Concurrency : 1
608
Requests per second
1.6 ms
Average time per request
0
Errors
Concurrency : 5
3,259
Requests per second
1.5 ms
Average time per request
0
Errors
Concurrency : 10
3,532
Requests per second
2.8 ms
Average time per request
0
Errors
Concurrency : 20
3,530
Requests per second
5.7 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.


6,140

Memory 1.7 Mo
Memory peak 1.7 Mo
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 327
Declared interfaces 81
Declared traits 0
Defined functions 2
Defined constants 1,551
Concurrency : 1
392
Requests per second
2.5 ms
Average time per request
0
Errors
Concurrency : 5
1,844
Requests per second
2.7 ms
Average time per request
0
Errors
Concurrency : 10
1,943
Requests per second
5.1 ms
Average time per request
0
Errors
Concurrency : 20
1,961
Requests per second
10.2 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON