NAME
Bencher::Scenario::Perl::Startup - Benchmark startup time of perls
VERSION
This document describes version 0.03 of Bencher::Scenario::Perl::Startup (from Perl distribution Bencher-Scenarios-Perl), released on 2016-03-13.
SYNOPSIS
To run benchmark with default option:
% bencher -m Perl::Startup
For more options (dump scenario, list/include/exclude/add participants, list/include/exclude/add datasets, etc), see bencher or run bencher --help
.
BENCHMARK PARTICIPANTS
perl-5.6.2 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.6.2/bin/perl -e1
perl-5.8.9 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.8.9/bin/perl -e1
perl-5.10.1 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.10.1/bin/perl -e1
perl-5.10.1 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.10.1/bin/perl -E1
perl-5.12.5 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.12.5/bin/perl -e1
perl-5.12.5 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.12.5/bin/perl -E1
perl-5.14.4 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.14.4/bin/perl -e1
perl-5.14.4 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.14.4/bin/perl -E1
perl-5.16.3 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.16.3/bin/perl -e1
perl-5.16.3 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.16.3/bin/perl -E1
perl-5.18.4 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.18.4/bin/perl -e1
perl-5.18.4 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.18.4/bin/perl -E1
perl-5.20.2 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.20.2/bin/perl -e1
perl-5.20.2 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.20.2/bin/perl -E1
perl-5.22.0 -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.22.0/bin/perl -e1
perl-5.22.0 -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.22.0/bin/perl -E1
perl-5.22.1-thread-multi-ld -e1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.22.1-thread-multi-ld/bin/perl -e1
perl-5.22.1-thread-multi-ld -E1 (command)
Command line:
/home/s1/perl5/perlbrew/perls/perl-5.22.1-thread-multi-ld/bin/perl -E1
SAMPLE BENCHMARK RESULTS
Run on: perl: v5.22.0, CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (4 cores), OS: GNU/Linux Debian version 8.0, OS kernel: Linux version 3.16.0-4-amd64.
Benchmark with default options (bencher -m Perl::Startup
):
+---------------------------------+-----------+-----------+------------+---------+---------+
| participant | rate (/s) | time (ms) | vs_slowest | errors | samples |
+---------------------------------+-----------+-----------+------------+---------+---------+
| perl-5.22.1-thread-multi-ld -E1 | 324 | 3.08 | 1 | 3.1e-06 | 425 |
| perl-5.22.0 -E1 | 335 | 2.99 | 1.03 | 2.9e-06 | 621 |
| perl-5.20.2 -E1 | 341 | 2.93 | 1.05 | 2.9e-06 | 535 |
| perl-5.16.3 -E1 | 342 | 2.92 | 1.06 | 2.7e-06 | 919 |
| perl-5.18.4 -E1 | 343 | 2.91 | 1.06 | 2.9e-06 | 555 |
| perl-5.14.4 -E1 | 354 | 2.83 | 1.09 | 2.7e-06 | 897 |
| perl-5.12.5 -E1 | 364 | 2.75 | 1.12 | 2.7e-06 | 416 |
| perl-5.10.1 -E1 | 370 | 2.7 | 1.14 | 2.7e-06 | 457 |
| perl-5.22.1-thread-multi-ld -e1 | 410 | 2.44 | 1.26 | 2.4e-06 | 143 |
| perl-5.22.0 -e1 | 417 | 2.4 | 1.29 | 2.4e-06 | 98 |
| perl-5.18.4 -e1 | 419 | 2.39 | 1.29 | 2.3e-06 | 432 |
| perl-5.20.2 -e1 | 423 | 2.36 | 1.31 | 2.3e-06 | 156 |
| perl-5.8.9 -e1 | 428 | 2.34 | 1.32 | 2.3e-06 | 61 |
| perl-5.16.3 -e1 | 432 | 2.32 | 1.33 | 2.3e-06 | 198 |
| perl-5.12.5 -e1 | 434 | 2.31 | 1.34 | 2.2e-06 | 48 |
| perl-5.14.4 -e1 | 433 | 2.31 | 1.33 | 2.3e-06 | 111 |
| perl-5.10.1 -e1 | 435 | 2.3 | 1.34 | 2.1e-06 | 79 |
| perl-5.6.2 -e1 | 455 | 2.2 | 1.4 | 2.1e-06 | 203 |
+---------------------------------+-----------+-----------+------------+---------+---------+
DESCRIPTION
Conclusion: in general newer versions of perl has larger startup overhead than previous ones. If startup overhead is important to you, use -e
instead of -E
unless necessary.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Bencher-Scenarios-Perl.
SOURCE
Source repository is at https://github.com/perlancar/perl-Bencher-Scenarios-Perl.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-Scenarios-Perl
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
SEE ALSO
Bencher::Scenario::Interpreters
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.