Browse Source

Initial READMEs for Swift and Vapor

Evgeny Kazakov 8 years ago
parent
commit
e0be04a63a
2 changed files with 68 additions and 0 deletions
  1. 24 0
      frameworks/Swift/README.md
  2. 44 0
      frameworks/Swift/vapor/README.md

+ 24 - 0
frameworks/Swift/README.md

@@ -0,0 +1,24 @@
+# Swift frameworks
+
+The information below contains information specific to Python. For further guidance, review the [documentation](http://frameworkbenchmarks.readthedocs.org/en/latest/)
+
+## Infrastructure Software Versions
+
+[Swift 3](https://swift.org)
+
+## Adding a New Framework
+
+In order to declare that your framework requires Swift 3, you should have an `install.sh` that contains at least
+```
+#!/bin/bash
+
+fw_depends swift3
+
+```
+
+This installs the Swift 3.
+
+## Get Help
+
+### Swift Experts
+No experts listed, yet. If you're an expert, add yourself!

+ 44 - 0
frameworks/Swift/vapor/README.md

@@ -0,0 +1,44 @@
+# [Vapor](https://vapor.codes/) 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](https://github.com/vapor/mysql), [for PostgreSQL](https://github.com/vapor/postgresql).
+
+### Database
+
+MySQL  
+PostgreSQL  
+MongoDB
+
+## Versions
+[Swift 3.0.2](http://swift.org/)
+[Vapor 1.5](https://vapor.codes/)
+
+## 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