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

PHP

Tool     PHP

Summary

145,532

Release 7.1 12/1/16
Benchmarked version PHP 7.1.10
Files 19,244
Code lines 5,401,433
Size 105 Mo
Source code https://github.com/phpbenchmarks/php-7-1

Hello World

Showing Hello World text, without template and database.


95,484

Memory 349 Ko
Memory peak 384.1 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 160
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,439
Concurrency : 1
10,159
Requests per second
0.1 ms
Average time per request
0
Errors
Concurrency : 5
21,732
Requests per second
0.2 ms
Average time per request
0
Errors
Concurrency : 10
30,106
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 20
33,487
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,048

Memory 410.8 Ko
Memory peak 418.6 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 168
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,439
Concurrency : 1
2,785
Requests per second
0.4 ms
Average time per request
0
Errors
Concurrency : 5
15,511
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 10
16,094
Requests per second
0.6 ms
Average time per request
0
Errors
Concurrency : 20
15,658
Requests per second
1.3 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON