Joan Miquel 37ae1377c5 [php] Mark broken PHP frameworks (#7945) il y a 2 ans
..
.ubiquity 768db25f2e [Ubiquity] add ngx raw version (#6054) il y a 5 ans
app 4c07d61a5c [Ubiquity] add micro version with ngx (#6736) il y a 4 ans
deploy f91556be63 [Ubiquity] update worker count (#6831) il y a 4 ans
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) il y a 6 ans
README.md d8bb293c9a [Ubiquity] Fix roadrunner images (#6708) il y a 4 ans
benchmark_config.json 37ae1377c5 [php] Mark broken PHP frameworks (#7945) il y a 2 ans
composer.json 0f93e20a4d [Ubiquity] update workerman to PHP8 (#6312) il y a 4 ans
config.toml 4c07d61a5c [Ubiquity] add micro version with ngx (#6736) il y a 4 ans
index.php 6aadca31e1 Update ubiquity (#5446) il y a 5 ans
ubiquity-ngx-micro.dockerfile f91556be63 [Ubiquity] update worker count (#6831) il y a 4 ans
ubiquity-ngx-raw.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) il y a 4 ans
ubiquity-ngx.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) il y a 4 ans
ubiquity-roadrunner-mysql.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) il y a 4 ans
ubiquity-roadrunner.dockerfile 9f97bb6acc [Ubiquity] Fix ngx versions (#6779) il y a 4 ans
ubiquity-swoole-mysql.dockerfile 4207efc722 [Ubiquity] Fix Swoole, update to php8 (#6450) il y a 4 ans
ubiquity-swoole.dockerfile 4207efc722 [Ubiquity] Fix Swoole, update to php8 (#6450) il y a 4 ans
ubiquity-workerman-mongo.dockerfile bcddc462ff [php] Update event to 3.0.8 (#7551) il y a 3 ans
ubiquity-workerman-mysql.dockerfile bcddc462ff [php] Update event to 3.0.8 (#7551) il y a 3 ans
ubiquity-workerman-raw.dockerfile bcddc462ff [php] Update event to 3.0.8 (#7551) il y a 3 ans
ubiquity-workerman.dockerfile bcddc462ff [php] Update event to 3.0.8 (#7551) il y a 3 ans
ubiquity.dockerfile cd5d04cb92 [ubiquity] Update to php 8.1 (#6905) il y a 3 ans

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