jcheron 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
..
.ubiquity 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
app 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
deploy 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 years ago
README.md 84315f7c2f Update ubiquity swoole mysql (#5471) 5 years ago
benchmark_config.json 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
composer.json 0120da9a62 Update ubiquity (preloading) (#5390) 6 years ago
index.php 6aadca31e1 Update ubiquity (#5446) 5 years ago
ubiquity-roadrunner-mysql.dockerfile 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
ubiquity-roadrunner.dockerfile 5def1271be Add ubiquity with roadrunner (#5534) 5 years ago
ubiquity-swoole-mysql-async.dockerfile 84315f7c2f Update ubiquity swoole mysql (#5471) 5 years ago
ubiquity-swoole-mysql.dockerfile 84315f7c2f Update ubiquity swoole mysql (#5471) 5 years ago
ubiquity-swoole.dockerfile 84315f7c2f Update ubiquity swoole mysql (#5471) 5 years ago
ubiquity-workerman.dockerfile 6d757fde1c Ubiquity swoole mysql (#5468) 5 years ago
ubiquity.dockerfile e545413a97 Add ubiquity preload (#5362) 6 years ago

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 controllers:

Ubiquity + PDO Mysql

  • 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

  • SwooleDbMy for database access with PDO Mysql driver (update test only)

  • SwooleDbAsync for database access with Swoole coroutine Mysql driver

  • SwooleFortunesAsync used with Swoole coroutine Mysql driver

  • SwooleDb for database access with PDO pgsql driver

  • SwooleFortunes used with PDO pgsql driver

  • 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