jcheron 73f5a3ac66 Start db in onWorkerStart (#5126) 6 年 前
..
.ubiquity 73f5a3ac66 Start db in onWorkerStart (#5126) 6 年 前
app 73f5a3ac66 Start db in onWorkerStart (#5126) 6 年 前
deploy 97c2377d10 Add memory_limit to php.ini (#5105) 6 年 前
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 年 前
README.md 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 年 前
benchmark_config.json ed14401630 Add ubiquity-workerman-pgsql (#5119) 6 年 前
composer.json 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 年 前
index.php 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 年 前
ubiquity-swoole.dockerfile 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 年 前
ubiquity-workerman-pgsql.dockerfile 73f5a3ac66 Start db in onWorkerStart (#5126) 6 年 前
ubiquity-workerman.dockerfile 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 年 前
ubiquity.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) 6 年 前

README.md

Ubiquity Benchmarking Test

img

Ubiquity is a full-stack php framework, These tests involve:

  • the ORM part (Full)
  • the JSON serialization (native php)

Tests are available with NginX server, Swoole and Workerman platforms.

Test Type Implementation Source Code

The tests are separated into 7 controllers:

Ubiquity + PDO

  • Json for JSON response
  • Db for database access with ORM (PDO Mysql)
    • DB
    • QUERY
    • [CACHED QUERY (not implemented)]()
    • UPDATE Utilizes transactions
  • Fortunes for using the internal template engine
  • Plaintext for plaintext response

    • PLAINTEXT

      Ubiquity Swoole + Coroutine Mysql

  • SwooleDb for database access with Swoole coroutine Mysql driver

  • SwooleFortunes used with Swoole

  • Workerman with Mysqli driver

  • WorkerFortunes used with Workerman

Important Libraries

The tests were run with:

Test URLs

JSON

http://localhost:8080/Json

PLAINTEXT

http://localhost:8080/Plaintext

DB

http://localhost:8080/Db

QUERY

CACHED QUERY

UPDATE

FORTUNES