Benchmark::Perl::Formance::Plugin::Shootout::fasta - Language shootout plugin: fasta
This plugin does some runs of the "fasta" benchmark from the Language Shootout.
Because the "fasta" plugin's output can be used to feed other benchmarks that work on "fasta" data you control its output via defines:
$ perl-formance --plugins=Shootout::fast \ -DShootout_fasta_n=1000 \ -DShootout_fasta_print=1 \ -DShootout_fasta_count=1
where _n is the algorithm's parameter, _print=1 means print out the result and _count is the repetition counter is usually 5 but should be 1 when generating the output for other plugins.
_n
_print=1
_count
To install Benchmark::Perl::Formance, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Benchmark::Perl::Formance
CPAN shell
perl -MCPAN -e shell install Benchmark::Perl::Formance
For more information on module installation, please visit the detailed CPAN module installation guide.