Nate 0096f84ee9 Config for the new toolset (#6259) преди 4 години
..
conf 013257d22d Naming Perl properly преди 11 години
README.md 013257d22d Naming Perl properly преди 11 години
app.pl 6fce84a278 WIP: Dockerify everything (#3457) преди 7 години
benchmark_config.json 623418289e Some QoL Stuff (#5604) преди 5 години
config.toml 0096f84ee9 Config for the new toolset (#6259) преди 4 години
nginx.conf f9360fc33b Docker Perl tests (#3426) преди 7 години
web-simple.dockerfile 0096f84ee9 Config for the new toolset (#6259) преди 4 години

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