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

PHP

Tool     PHP

Summary

108,285

Release 5.6 8/28/14
Benchmarked version PHP 5.6.31
Files 17,790
Code lines 4,221,389
Size 98.5 Mo
Source code https://github.com/phpbenchmarks/php-5-6

Hello World

Showing Hello World text, without template and database.


94,988

Memory 220.3 Ko
Memory peak 220.5 Ko
Real memory 262.1 Ko
Real memory peak 262.1 Ko
Declared classes 147
Declared interfaces 16
Declared traits 0
Defined functions 2
Defined constants 1,395
Concurrency : 1
10,076
Requests per second
0.1 ms
Average time per request
0
Errors
Concurrency : 5
21,387
Requests per second
0.2 ms
Average time per request
0
Errors
Concurrency : 10
31,035
Requests per second
0.3 ms
Average time per request
0
Errors
Concurrency : 20
32,490
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.


13,297

Memory 1.1 Mo
Memory peak 1.1 Mo
Real memory 1.3 Mo
Real memory peak 1.3 Mo
Declared classes 155
Declared interfaces 16
Declared traits 0
Defined functions 2
Defined constants 1,395
Concurrency : 1
692
Requests per second
1.4 ms
Average time per request
0
Errors
Concurrency : 5
3,959
Requests per second
1.3 ms
Average time per request
0
Errors
Concurrency : 10
4,323
Requests per second
2.3 ms
Average time per request
0
Errors
Concurrency : 20
4,323
Requests per second
4.6 ms
Average time per request
0
Errors
English   Français
© 2017-2018 InfoDroid, by Steevan BARBOYON