Bartosz Jarzyna 63f467e295 Perl: Fix non-functional benchmarks (#9151) 1 năm trước cách đây
..
README.md 63f467e295 Perl: Fix non-functional benchmarks (#9151) 1 năm trước cách đây
app.pl 63f467e295 Perl: Fix non-functional benchmarks (#9151) 1 năm trước cách đây
benchmark_config.json 63f467e295 Perl: Fix non-functional benchmarks (#9151) 1 năm trước cách đây
config.toml 0096f84ee9 Config for the new toolset (#6259) 4 năm trước cách đây
dancer.dockerfile 63f467e295 Perl: Fix non-functional benchmarks (#9151) 1 năm trước cách đây
nginx.conf f9360fc33b Docker Perl tests (#3426) 7 năm trước cách đây

README.md

Setup

  • Perl 5.16.3
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Dancer
  • Dancer::Plugin::Database
  • DBD::MariaDB
  • 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