ecruz-te e53e0260e5 Add broken tags to FW's that haven't started/stopped correctly in last 3 full runs + script for detecting failing frameworks (#8255) 2 rokov pred
..
deploy 83bb090f46 [php] Plain update to Adapterman 0.6 (#8024) 2 rokov pred
eloquent e432178aac Update to PHP 8 (#6169) 4 rokov pred
models c791a06013 name php properly 11 rokov pred
README.md d454e5062b Update php unit to Ubuntu 20.04 (#5713) 5 rokov pred
apc.php c791a06013 name php properly 11 rokov pred
benchmark_config.json e53e0260e5 Add broken tags to FW's that haven't started/stopped correctly in last 3 full runs + script for detecting failing frameworks (#8255) 2 rokov pred
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 rokov pred
dbquery.php e432178aac Update to PHP 8 (#6169) 4 rokov pred
dbraw.php e225534dfe Correct small typo in header (#5092) 5 rokov pred
fortune.php 96a0c5429e PHP PDO use prepared statements in db server (#4862) 6 rokov pred
info.php 6674dd637c Update and reconfigure PHP stack (#3291) 7 rokov pred
json.php e225534dfe Correct small typo in header (#5092) 5 rokov pred
php-caddy.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-eloquent.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-franken.dockerfile 70ab970735 [php] Add Frankenphp platform (#7748) 2 rokov pred
php-h2o.dockerfile 66fcee888c Update H2O to revision 13ba727ad (#8134) 2 rokov pred
php-laravel-query-builder.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-pgsql-raw.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-pools.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-raw7-tcp.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
php-unit.dockerfile 55ce0c5d65 [php] Fix php-unit (#7976) 2 rokov pred
php-workerman.dockerfile 83bb090f46 [php] Plain update to Adapterman 0.6 (#8024) 2 rokov pred
php.dockerfile 9a9624d83c [php] Plain PHP update to v 8.2 (#7996) 2 rokov pred
plaintext.php e225534dfe Correct small typo in header (#5092) 5 rokov pred
updateraw.php e432178aac Update to PHP 8 (#6169) 4 rokov pred

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.

Infrastructure Software Versions

The tests were run with PHP Version 7.3.* + OPcache

Platforms

Webservers

Databases

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