Lita Gratrix b0e9c36a56 Merge branch 'master' of https://github.com/TechEmpower/FrameworkBenchmarks %!s(int64=10) %!d(string=hai) anos
..
conf 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
README.md 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
app.pl 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
bash_profile.sh 94f196ff74 Convert setup.py to setup.sh for web-simple %!s(int64=10) %!d(string=hai) anos
benchmark_config 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
install.sh 35a9a461b7 fix web-simple %!s(int64=10) %!d(string=hai) anos
nginx.conf 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
setup.sh 35a9a461b7 fix web-simple %!s(int64=10) %!d(string=hai) anos
source_code 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos

README.md

Setup

  • Perl 5.10+
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Web::Simple
  • DBD::mysql
  • Starman (if using Starman as web server)
  • Plack (for plackup)
  • nginx (if you want to front Dancer with nginx, nginx.conf provided)

Deployment

Something along the lines of

plackup -E production -s Starman --workers=8 -l /tmp/frameworks-benchmark.sock -a ./app.pl

if you want to front it with nginx, otherwise

plackup -E production -s Starman --port=8080 --workers=8 -a ./app.pl