Joan Miquel 0bd20bb0e3 [php] Workerman update libevent to v3.1.1 (#8672) 1 年之前
..
README.md 91164ef28d [php] Workerman update to PHP 8.2 (#7704) 2 年之前
app-pg.php 4698fc54e7 [workerman] Remove globals vars in pgsql (#7313) 3 年之前
app.php d7ec76dd6c Workerman disable php7.4 (#6223) 4 年之前
benchmark_config.json 91164ef28d [php] Workerman update to PHP 8.2 (#7704) 2 年之前
composer.json d3ecfb4879 Change updates tests in workerman and php-ngx (#5217) 5 年之前
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 年之前
dbraw.php 4698fc54e7 [workerman] Remove globals vars in pgsql (#7313) 3 年之前
php-jit.ini 544a4d4d0f [workerman] Testing php8 (#6143) 4 年之前
php.ini d4271c7d86 Revert "Revert "Add Workerman with Mysqli (#5122)" (#5129)" (#5131) 5 年之前
server-async.php 4fb3a2a6b0 Workerman fix fortunes url (#5838) 5 年之前
server.php 4f7bbf9c95 Revert to 4 x workers (#5772) 5 年之前
workerman-async.dockerfile 0bd20bb0e3 [php] Workerman update libevent to v3.1.1 (#8672) 1 年之前
workerman-pgsql.dockerfile 0bd20bb0e3 [php] Workerman update libevent to v3.1.1 (#8672) 1 年之前
workerman-php8-jit.dockerfile 0bd20bb0e3 [php] Workerman update libevent to v3.1.1 (#8672) 1 年之前
workerman.dockerfile 0bd20bb0e3 [php] Workerman update libevent to v3.1.1 (#8672) 1 年之前

README.md

#PHP Benchmarking Test

This is the PHP portion of a benchmarking test suite comparing a variety of web development platforms. NGINX is removed in this test, and substituted by Workerman, An asynchronous event driven PHP framework. An asynchronous event driven PHP framework for easily building fast, scalable network applications. Supports HTTP, Websocket, SSL and other custom protocols. Supports libevent, HHVM, ReactPHP.

https://github.com/walkor/Workerman

MySQL Connection is using PHP PDO::Persistent Connection.

Infrastructure Software Versions

The tests were run with:

Pre-test:

JSON Encoding Test

Using the PHP standard JSON encoder

Test URLs

JSON Encoding Test

http://localhost:8080/json

Data-Store/Database Mapping Test

http://localhost:8080/db

http://localhost:8080/update

Variable Query Test

http://localhost:8080/query

Fortune Test

http://localhost:8080/fortunes