Skip to content

(work in progress) Swift implementation of the TechEmpower benchmarks running on Kitura

License

Notifications You must be signed in to change notification settings

djones6/Swift-TechEmpower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift-TechEmpower

(work in progress) Swift implementation of the TechEmpower benchmarks running on Kitura

Prereqs

Swiftenv - not required but highly recommended: https://github.com/kylef/swiftenv

Linux

apt-get install libpq-dev

Mac

brew install postgresql

Building the Kitura example

Use the provided build.sh script, either ./build.sh debug or ./build.sh release

Or, the following command depending on platform:

Linux

swift build -Xcc -fblocks -Xcc -I/usr/include/postgresql and optionally -c release

Mac

swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/ and optionally -c release

Running

To test that the Kitura implementation is running: .build/release/TechEmpower curl http://127.0.0.1:8080/plaintext should return Hello, World!

Benchmarking

For help on getting started running these benchmarks, see the readme in the Kitura subdirectory.

You may also find the following project useful for running comparisons and regression tests on web frameworks: https://github.com/djones6/Swift-Bench

About

(work in progress) Swift implementation of the TechEmpower benchmarks running on Kitura

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •