Joan Miquel cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
..
.ubiquity 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
app 4c07d61a5c [Ubiquity] add micro version with ngx (#6736) 4 years ago
deploy f91556be63 [Ubiquity] update worker count (#6831) 3 years ago
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 years ago
README.md d8bb293c9a [Ubiquity] Fix roadrunner images (#6708) 4 years ago
benchmark_config.json cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
composer.json 0f93e20a4d [Ubiquity] update workerman to PHP8 (#6312) 4 years ago
config.toml 4c07d61a5c [Ubiquity] add micro version with ngx (#6736) 4 years ago
index.php 6aadca31e1 Update ubiquity (#5446) 5 years ago
ubiquity-ngx-micro.dockerfile f91556be63 [Ubiquity] update worker count (#6831) 3 years ago
ubiquity-ngx-raw.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) 4 years ago
ubiquity-ngx.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) 4 years ago
ubiquity-roadrunner-mysql.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) 4 years ago
ubiquity-roadrunner.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) 4 years ago
ubiquity-swoole-mysql.dockerfile 4207efc722 [Ubiquity] Fix Swoole, update to php8 (#6450) 4 years ago
ubiquity-swoole.dockerfile 4207efc722 [Ubiquity] Fix Swoole, update to php8 (#6450) 4 years ago
ubiquity-workerman-mongo.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
ubiquity-workerman-mysql.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
ubiquity-workerman-raw.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
ubiquity-workerman.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 years ago
ubiquity.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) 3 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 ,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