tfb 09706dcea4 Stopped Nginx access logging by dancer and web-simple 12 years ago
..
README.md 58284bf7b2 Added deployment notes 12 years ago
__init__.py 8a6ab080c9 created benchmark_config and setup.py files for dancer 12 years ago
app.pl e7e0b0ca85 merge naturalist-master 12 years ago
benchmark_config 873dde0f06 Refactor benchmark_configs 12 years ago
nginx.conf 09706dcea4 Stopped Nginx access logging by dancer and web-simple 12 years ago
setup.py e7e0b0ca85 merge naturalist-master 12 years ago
source_code 66e46ee08e codeLineCount Create source_code file for each framework. Modify count_sloc to use gather_frameworks instead of a large list 12 years ago

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