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

PHP

Tool     PHP

Summary

152,312

Release 7.0 12/3/15
Benchmarked version PHP 7.0.23
Files 18,576
Code lines 4,299,485
Size 100.6 Mo
Source code https://github.com/phpbenchmarks/php-7-0

Hello World

Showing Hello World text, without template and database.


101,715

Memory 348 Ko
Memory peak 348.1 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 137
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,261
Concurrency : 1
10,331
Requests per second
0.1 ms
Average time per request
0
Errors
Concurrency : 5
21,821
Requests per second
0.2 ms
Average time per request
0
Errors
Concurrency : 10
33,987
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 20
35,576
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,597

Memory 411.1 Ko
Memory peak 419 Ko
Real memory 2.1 Mo
Real memory peak 2.1 Mo
Declared classes 145
Declared interfaces 18
Declared traits 0
Defined functions 2
Defined constants 1,261
Concurrency : 1
3,476
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 5
14,622
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 10
16,558
Requests per second
0.6 ms
Average time per request
0
Errors
Concurrency : 20
15,941
Requests per second
1.3 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON