Nate 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
..
README.md 013257d22d Naming Perl properly %!s(int64=11) %!d(string=hai) anos
app.pl 42873e9f8f Update Dancer query to pass the test (#4631) %!s(int64=6) %!d(string=hai) anos
benchmark_config.json 623418289e Some QoL Stuff (#5604) %!s(int64=5) %!d(string=hai) anos
config.toml 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
dancer.dockerfile 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
nginx.conf f9360fc33b Docker Perl tests (#3426) %!s(int64=7) %!d(string=hai) anos

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