Nate c621b4196c Add CPU_COUNT env variable / get MAX_THREADS for load_gen (#2586) 8 년 전
..
.gitignore e25c3195be Create gitignore files for several frameworks and delete corresponding files that were unnecessarily saved 9 년 전
README.md 013257d22d Naming Perl properly 11 년 전
app.pl 013257d22d Naming Perl properly 11 년 전
benchmark_config.json c778514c08 dancer fix 8 년 전
nginx.conf 27474ca7b7 Ugh, none of these work - Perl, amirite? 11 년 전
setup-mysql.sh e9c5f6f782 DB Setup Changes / New Travis / Vagrant fix - The Promised Land! (#2417) 8 년 전
setup.sh c621b4196c Add CPU_COUNT env variable / get MAX_THREADS for load_gen (#2586) 8 년 전
source_code 013257d22d Naming Perl properly 11 년 전

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