|
6 years ago | |
---|---|---|
.. | ||
Sources | 6 years ago | |
Views | 7 years ago | |
.gitignore | 7 years ago | |
.swift-version | 6 years ago | |
Package.swift | 6 years ago | |
README.md | 6 years ago | |
benchmark_config.json | 6 years ago | |
config.json | 7 years ago | |
kitura-gcd-postgres-orm-codable.dockerfile | 6 years ago | |
kitura-gcd-postgres-orm.dockerfile | 6 years ago | |
kitura-gcd-postgres.dockerfile | 6 years ago | |
kitura-gcd.dockerfile | 6 years ago | |
kitura-mongodb.dockerfile | 7 years ago | |
kitura-nio-postgres-orm-codable.dockerfile | 6 years ago | |
kitura-nio-postgres-orm.dockerfile | 6 years ago | |
kitura-nio-postgres.dockerfile | 6 years ago | |
kitura-nio.dockerfile | 6 years ago | |
kitura-postgres-orm-codable.dockerfile | 6 years ago | |
kitura-postgres-orm.dockerfile | 6 years ago | |
kitura-postgres.dockerfile | 6 years ago | |
kitura.dockerfile | 6 years ago |
This is the Kitura portion of a benchmarking test suite comparing a variety of web development platforms.
The benchmark is split up into multiple executable targets, demonstrating different database backends and uses of the Kitura routing APIs:
kitura
: Implementations of Plaintext and JSON using 'raw' (Express-style) routingkitura-postgres
: Implementation of database tests, using Postgres with Swift-Kuery (no ORM)kitura-postgres-orm
: Equivalent implementation with Postgres and Swift-Kuery-ORMkitura-postgres-orm-codable
: Equivalent implementation with Postgres, using Codable Routing together with Swift-Kuery-ORMkitura-mongodb
: Implementation of database tests, using MongoDB with MongoKitten (no ORM)kitura-nio
: kitura
implementations of Plaintext and JSON run on Kitura-NIOkitura-nio-postgres
: Testing kitura
implementations of database tests using Postgres on Kitura-NIOThere are additional variants for each of the above implementations, with the '-gcd' suffix: These are compiled from the same source, but use the Grand Central Dispatch threading model (used by default on macOS) instead of a direct epoll implementation (the default on Linux).
Each listens on port 8080, and uses the common URLs described below.
This version of the benchmark requires Swift 4.0.3 or higher, and uses the following versions of Kitura and dependencies:
http://localhost:8080/queries?queries=n
http://localhost:8080/fortunes
http://localhost:8080/updates?queries=n