jcheron 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
..
.ubiquity 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
app 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
deploy ac89c8e5dc Add Ubiquity-react (#4753) 6 years ago
.htaccess 33b8e04a1a Ubiquity benchmarks (#4682) 6 years ago
README.md 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
benchmark_config.json 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
composer.json d010c5ff0f Ubiquity framework cleaning (#4701) 6 years ago
index.php ac89c8e5dc Add Ubiquity-react (#4753) 6 years ago
ubiquity-react.dockerfile 41d0cdd61f Update ubiquity-react (#4820) 6 years ago
ubiquity.dockerfile 60535c5cc2 Update php to Ubuntu 19.04 and nginx 1.15.9 (#4786) 6 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 and PHP-PM servers.

Test Type Implementation Source Code

The tests are separated into 4 controllers:

  • Json for JSON response
  • Db for database access
    • DB
    • QUERY
    • [CACHED QUERY (not implemented)]()
    • UPDATE Utilizes transactions
  • Fortunes for using the internal template engine
  • Plaintext for plaintext response

Important Libraries

The tests were run with:

Servers

PHP-PM server (beta version) is configured with this values:

  • workers: 32
  • max-requests: 1024

Test URLs

JSON

http://localhost:8080/Json

PLAINTEXT

http://localhost:8080/Plaintext

DB

http://localhost:8080/Db

QUERY

http://localhost:8080/Db/query/

CACHED QUERY

http://localhost:8080/Db/query/

UPDATE

http://localhost:8080/Db/update/

FORTUNES

http://localhost:8080/Fortunes