Mike Smith f532415394 master Should only kill with 15 11 jaren geleden
..
README.md 58284bf7b2 Added deployment notes 12 jaren geleden
__init__.py 8a6ab080c9 created benchmark_config and setup.py files for dancer 12 jaren geleden
app.pl 4c668432be Merge pull request #668 from dolmen/patch-1 11 jaren geleden
benchmark_config 873dde0f06 Refactor benchmark_configs 12 jaren geleden
nginx.conf 35d24d7904 verify No more logging to /dev/null 11 jaren geleden
setup.py f532415394 master Should only kill with 15 11 jaren geleden
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 jaren geleden

README.md

Setup

  • Perl 5.16.3
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Dancer
  • Dancer::Plugin::Database
  • 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=2 -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=2 -a ./app.pl