Benchmark::Perl::Formance - PerlFormance - Benchmark Suite


This benchmark suite tries to run some stressful programs and outputs values that you can compare against other runs of this suite, e.g. with other versions of Perl, modified compile parameter, or another set of dependent libraries.


Steffen Schwigon, <ss5 at>


No invariant dependencies

This distribution only contains the programs to run the tests and according data. It uses a lot of libs from CPAN with all their dependencies but it does not contain invariant versions of those used dependency libs.

If total invariance is important to you, you are responsible to provide that invariant environment by yourself. You could, for instance, create a local CPAN mirror with CPAN::Mini and never upgrade it. Then use that mirror for all your installations of Benchmark::Perl::Formance.

On the other side this could be used to track the performance of your installation over time by continuously upgrading from CPAN.

It is not scientific

The benchmarks are basically just a collection of already existing interesting things like large test suites found on CPAN or just starting long running tasks that seem to stress perl features. It does not really guarantee accuracy of only raw Perl features, i.e., it does not care for underlying I/O speed and does not preallocate ressources from the OS before using them, etc.

This is basically because I just wanted to start, even without knowledge about "real" benchmark science.

Anyway, feel free to implement "real" benchmark ideas and send me patches.

Bug reports

Please report any bugs or feature requests to bug-perl-formance at, or through the web interface at I will be notified, and then you will automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Benchmark::Perl::Formance

You can also look for information at:



Copyright 2008-2010 Steffen Schwigon.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Steffen Schwigon <>


This software is copyright (c) 2015 by Steffen Schwigon.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.