Kim de Vos 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
..
Config 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
Resources b36b048011 Vapor benchmarks 8 năm trước cách đây
Sources 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
.gitignore b36b048011 Vapor benchmarks 8 năm trước cách đây
Package.pins 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
Package.swift 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
README.md e0be04a63a Initial READMEs for Swift and Vapor 8 năm trước cách đây
app.json b36b048011 Vapor benchmarks 8 năm trước cách đây
benchmark_config.json b36b048011 Vapor benchmarks 8 năm trước cách đây
setup-mongodb.sh 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
setup-mysql.sh 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây
setup-postgresql.sh 1320ec1c0c Vapor 2 (#2828) 8 năm trước cách đây

README.md

Vapor Benchmark Test

This is the Vapor portion of a benchmarking tests suite comparing a variety of web development platforms.

Targets

Three executable targets. Each listens on port 8080. All handle same URLs.
vapor-tfb-mysql is for MySQL
vapor-tfb-postgresql is for PostgreSQL
vapor-tfb-mongodb is for MongoDB

Dependencies

Linked MySQL and PostgreSQL client libraries are required to build the app, please consult Vapor's documentation for MySQL, for PostgreSQL.

Database

MySQL
PostgreSQL
MongoDB

Versions

Swift 3.0.2 Vapor 1.5

Test URLs

JSON serialization test

http://localhost:8080/json

Single database query test

http://localhost:8080/db

Multiple database queries test

http://localhost:8080/queries?queries=[1...500]

Fortunes test

http://localhost:8080/fortunes

Database updates test

http://localhost:8080/updates?queries=[1...500]

Plaintext test

http://localhost:8080/plaintext