jenriquez-techempower f5830bf5dd Fixswift (#4422) 6 éve
..
Sources f5830bf5dd Fixswift (#4422) 6 éve
.gitignore b3b2089895 Swiftperfect (#4048) 7 éve
Package.swift b3b2089895 Swiftperfect (#4048) 7 éve
README.md 24b6489eca Update perfect readme (#4060) 7 éve
benchmark_config.json b3b2089895 Swiftperfect (#4048) 7 éve
perfect-mongodb.dockerfile b3b2089895 Swiftperfect (#4048) 7 éve
perfect-mysql.dockerfile b3b2089895 Swiftperfect (#4048) 7 éve
perfect-postgresql.dockerfile b3b2089895 Swiftperfect (#4048) 7 éve
perfect.dockerfile b3b2089895 Swiftperfect (#4048) 7 éve

README.md

Perfect Benchmark Test

This is the Perfect portion of a benchmarking test suite comparing a variety of web development platforms.

Variants

There is are four versions of the benchmark, three of which use databases:

  • Perfect: No DB
  • Perfect-MySQL: Using MySQL
  • Perfect-PostgreSQL: Using PostgreSQL
  • Perfect-MongoDB: Using MongoDB

Each listens on port 8080, and use common URLs described below.

Versions and Dependencies

This version of the benchmark requires Swift 4.1, and uses the following versions of Perfect and dependencies:

Test URLs

JSON serialization

http://localhost:8080/json

Plaintext

http://localhost:8080/plaintext

DB Store - on all configurations

http://localhost:8080/db

Queries - on all configurations

http://localhost:8080/queries/queries=2

Updates - on all configurations

http://localhost:8080/updates/queries=2