The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

dkbench - DKbench Perl Benchmark launch script

DESCRIPTION

This is the benchmarking script, part of the Benchmark::DKbench distribution.

See POD on the main module for info:

 perldoc Benchmark::DKbench

SYNOPSIS

 dkbench [options]

 Options:
 --threads <i>, -j <i> : Number of benchmark threads (default is 1).
 --multi,       -m     : Multi-threaded using all your CPU cores/threads.
 --max_threads <i>     : Override the cpu detection to specify max cpu threads.
 --iter <i>,    -i <i> : Number of suite iterations (with min/max/avg at the end).
 --stdev               : Show relative standard deviation (for iter > 1).
 --include <regex>     : Run only benchmarks that match regex.
 --exclude <regex>     : Do not run benchmarks that match regex.
 --time,        -t     : Report time (sec) instead of score.
 --quick,       -q     : Quick benchmark run (implies -t).
 --no_mce              : Do not run under MCE::Loop (implies -j 1).
 --scale <i>,   -s <i> : Scale the bench workload by x times (incompatible with -q).
 --skip_bio            : Skip BioPerl benchmarks.
 --skip_prove          : Skip Moose prove benchmark.
 --time_piece          : Run optional Time::Piece benchmark (see benchmark details).
 --bio_codons          : Run optional BioPerl Codons benchmark (does not scale well).
 --sleep <i>           : Sleep for <i> secs after each benchmark.
 --setup               : Download the Genbank data to enable the BioPerl tests.
 --datapath <path>     : Override the path where the expected benchmark data is found.
 --ver <num>           : Skip benchmarks added after the specified version.
 --help         -h     : Show basic help and exit.

The default run (no options) will run all the benchmarks both single-threaded and multi-threaded (using all detected CPU cores/hyperthreads) and show you scores and multi vs single threaded scalability.