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

PHP

Tool     PHP

Summary

145,360

Release 7.2 11/30/17
Benchmarked version PHP 7.2.0
Files 19,497
Code lines 5,589,569
Size 118.1 Mo
Source code https://github.com/phpbenchmarks/php-7-2

Hello World

Showing Hello World text, without template and database.


94,654

Memory 384.9 Ko
Memory peak 385 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 161
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,551
Concurrency : 1
9,524
Requests per second
0.1 ms
Average time per request
0
Errors
Concurrency : 5
22,149
Requests per second
0.2 ms
Average time per request
0
Errors
Concurrency : 10
29,355
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 20
33,626
Requests per second
0.6 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.


50,706

Memory 447.6 Ko
Memory peak 455.6 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 169
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,551
Concurrency : 1
3,356
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 5
14,349
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 10
16,659
Requests per second
0.6 ms
Average time per request
0
Errors
Concurrency : 20
16,342
Requests per second
1.2 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON