README.md 3.3 KB

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 ,Roadrunner, ngx_php 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

Ubiquity with async platforms (Swoole, Workerman, ngx_php or Roadrunner) + Pgsql

Ubiquity with async platforms (Swoole, Workerman, ngx_php or Roadrunner)

  • Json_ for JSON response
  • Plaintext_ for plaintext response

Ubiquity Workerman + MongoDb

  • DbMongo for database access
  • FortunesMongo for using the internal template engine

Important Libraries

The tests were run with:

Test URLs

JSON

PLAINTEXT

DB

QUERY

CACHED QUERY

UPDATE

FORTUNES