Joan Miquel f7941b5263 Php-ngx update (#4844) преди 6 години
..
deploy 208165c1bd Delete rlimit_nofile in nginx config (#4785) преди 6 години
eloquent a9f52c3293 Update Eloquent ORM to return objects (#4648) преди 6 години
models c791a06013 name php properly преди 11 години
README.md 782794b91b Create new php-eloquent and php-laravel-query-builder tests (#4530) преди 6 години
apc.php c791a06013 name php properly преди 11 години
benchmark_config.json 06d8251cc1 Delete php-raw7 benchmark (#4784) преди 6 години
dborm.php d415bb2a9a Simplify php activerecords (#4606) преди 6 години
dbquery.php 5c9a759538 Delete unnecessary comparison (#4598) преди 6 години
dbraw.php 379a4a37ce Separate single and multiple queries in php raw (#4596) преди 6 години
fortune.php 4ab2980fe6 Lower keepalive requests (#4384) преди 6 години
info.php 6674dd637c Update and reconfigure PHP stack (#3291) преди 7 години
json.php 6674dd637c Update and reconfigure PHP stack (#3291) преди 7 години
php-activerecord.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-eloquent.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-h2o.dockerfile 19cef8bcec Update H2o conf (#4367) преди 6 години
php-laravel-query-builder.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-ngx.dockerfile f7941b5263 Php-ngx update (#4844) преди 6 години
php-pgsql-raw.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-php5-raw.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-php5.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-pools.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php-raw7-tcp.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
php.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) преди 6 години
plaintext.php c791a06013 name php properly преди 11 години
updateraw.php 5c9a759538 Delete unnecessary comparison (#4598) преди 6 години

README.md

#PHP Benchmarking Test

This is the PHP portion of a benchmarking test suite comparing a variety of web development platforms.

Important

When editing this framework, be sure to force add the files changed. Most files were added to .gitignore, as the framework touches some of them during testing.

JSON Encoding Test

Use the PHP standard JSON encoder

Data-Store/Database Mapping Test

Infrastructure Software Versions

The tests were run with:

ActiveRecord

Eloquent ORM / Laravel Query Builder

The Laravel query builder / eloquent ORM components can be run separately from the Laravel framework. (Instructions) This is used for two tests:

  • php-laravel-query-builder: uses the Laravel query builder without using the full Eloquent ORM.
    This tests the overhead of the dependency injection container (Capsule) and the query builder without the overhead of the Eloquent ORM models.
  • php-eloquent: uses the Laravel Eloquent ORM which is built on top of the Laravel query builder. This tests the incremental overhead of the Eloquent ORM models.

These tests measure overhead compared to a PHP-PDO implementation. Comparing these tests to the Laravel framework results also illustrates the overhead of the Laravel frontend components relative to the backend components.

Brion Finlay

Test URLs

JSON Encoding Test

http://localhost/json.php

Data-Store/Database Mapping Test

Raw: http://localhost/dbraw.php

ORM: http://localhost/dborm.php

Variable Query Test

Raw: http://localhost/dbraw.php?queries=5

ORM: http://localhost/dborm.php?queries=5

Eloquent ORM / Laravel Query Builder tests

Eloquent ORM