jcheron 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
..
.ubiquity 5def1271be Add ubiquity with roadrunner (#5534) 5 anos atrás
app 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
deploy 5def1271be Add ubiquity with roadrunner (#5534) 5 anos atrás
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 anos atrás
README.md 84315f7c2f Update ubiquity swoole mysql (#5471) 5 anos atrás
benchmark_config.json 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
composer.json 0120da9a62 Update ubiquity (preloading) (#5390) 5 anos atrás
index.php 6aadca31e1 Update ubiquity (#5446) 5 anos atrás
ubiquity-roadrunner-mysql.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity-roadrunner.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity-swoole-mysql-async.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity-swoole-mysql.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity-swoole.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity-workerman.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás
ubiquity.dockerfile 88fc80b154 Add ubiquity memory cache (#5879) 5 anos atrás

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