J-C HERON 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
..
.ubiquity 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
app 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
deploy 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 years ago
README.md c200836a40 [Ubiquity] add ngx platform (#6042) 4 years ago
benchmark_config.json 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
composer.json 0120da9a62 Update ubiquity (preloading) (#5390) 5 years ago
index.php 6aadca31e1 Update ubiquity (#5446) 5 years ago
ubiquity-ngx-raw.dockerfile 768db25f2e [Ubiquity] add ngx raw version (#6054) 4 years ago
ubiquity-ngx.dockerfile c200836a40 [Ubiquity] add ngx platform (#6042) 4 years ago
ubiquity-roadrunner-mysql.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity-roadrunner.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity-swoole-mysql.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity-swoole.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity-workerman-mongo.dockerfile 22f17290af Add ubiquity mongo (#5954) 5 years ago
ubiquity-workerman-mysql.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity-workerman.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 years ago
ubiquity.dockerfile e3a2d6a10e Ubiquity refactoring (#5916) 5 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