jcheron 8c46706f51 Update ubiquity (#5188) 5 anni fa
..
.ubiquity 8c46706f51 Update ubiquity (#5188) 5 anni fa
app 8c46706f51 Update ubiquity (#5188) 5 anni fa
deploy 97c2377d10 Add memory_limit to php.ini (#5105) 6 anni fa
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 anni fa
README.md ebb5816216 Update ubiquity (#5173) 5 anni fa
benchmark_config.json 8c46706f51 Update ubiquity (#5188) 5 anni fa
composer.json 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 anni fa
index.php 9727bc2c1c Ubiquity update Swoole & Workerman (#5095) 6 anni fa
ubiquity-swoole.dockerfile 8c46706f51 Update ubiquity (#5188) 5 anni fa
ubiquity-workerman.dockerfile 8c46706f51 Update ubiquity (#5188) 5 anni fa
ubiquity.dockerfile 8c46706f51 Update ubiquity (#5188) 5 anni fa

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 pgsql

  • 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

  • SwooleDb for database access with Swoole coroutine Mysql driver

  • SwooleFortunes used with Swoole

  • Workerman with PDO pgsql 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