Skip to content

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

Notifications You must be signed in to change notification settings

lroseblade/Swift-TechEmpower

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 91.4%
  • Shell 6.0%
  • CSS 1.5%
  • HTML 1.1%