Welcome to Perl::Formance.
This is about benchmarking Perl.
It combines several projects: the actual benchmark suite, tools to bootstrap a complete Perl+CPAN from git, a results database and chart rendering.
Where are the results?
Click here for Perl 5 results:
Other dashboards
Synopsis
For your local use try the whole mix in one go with:
curl -Ls https://raw.githubusercontent.com/renormalist/app-bootstrap-perl/master/bin/bootstrap-perl | perl - --perlformance
This will by default build a "blead" Perl in ~/.bootstrapperl/
, install CPAN with dependencies, run benchmarks and print out the results on screen at the end.
After --perlformance
you can provide other versions
via --version=v5.14.2
or --version=01725c1~3
; basically
any rev that "git" understands.
The Benchmark Storage
benchmarkanything.org has more info about the used benchmark result abstraction.
The Benchmark Suite
Benchmark::Perl::Formance is the framework for running benchmarks. It requires just a few dependencies and runs a basic set of benchmarks.
More Benchmarks
Task::PerlFormance provides the full set of benchmarks via dependencies from CPAN.
Your Benchmarks
- You have a code snippet worth to measure over many Perl versions? Create a ticket with details, or even better a Pull Request.
- You have a server from where you want to regularly report results to my central results DB? Contact me.
Bootstrap Perl
App::Bootstrap::Perl is yet another Perl builder. It focuses on
- building from git
- set up CPAN.pm with distroprefs for unattended installation
- lightweight work-arounds for known build problems (e.g., for old 5.8/5.9 Perl versions)
- inject meta information into the built Perl to augment the benchmark results
- optionally start programs from the built Perl (in particular the benchmark suite)
Presentations
- Overall vision at YAPC::EU 2011
- Early numbers at YAPC::EU 2012
- Rekapitulacija 2015 at YAPC::EU 2015
- Rekapitulacija 2019 at PerlCon 2019