bench-startup-preamble-modules - Benchmark startup time of various Perl modules commonly used in code preamble
This document describes version 0.01 of bench-startup-preamble-modules (from Perl distribution App-BenchStartupPreambleModules), released on 2015-06-14.
% bench-startup-preamble-modules
Sample output:
Rate FindBin Getopt::Long File::Spec Carp Exporter none FindBin 116.223+-0.045/s -- -5.7% -46.6% -52.4% -83.9% -87.8% Getopt::Long 123.306+-0.092/s 6.1% -- -43.4% -49.5% -82.9% -87.1% File::Spec 217.69+-0.18/s 87.3+-0.17% 76.54+-0.2% -- -10.8% -69.8% -77.2% Carp 244.15+-0.17/s 110.07+-0.17% 98.01+-0.2% 12.16+-0.12% -- -66.1% -74.4% Exporter 720.2+-1.9/s 519.7+-1.6% 484.1+-1.6% 230.85+-0.91% 194.98+-0.8% -- -24.5% none 954.1+-2.6/s 720.9+-2.3% 673.8+-2.2% 338.3+-1.2% 290.8+-1.1% 32.47+-0.5% -- Average times: none : 1.0481ms Exporter : 1.3885ms Carp : 4.0958ms File::Spec : 4.5937ms Getopt::Long: 8.1099ms FindBin : 8.6041ms
bench-startup-pragmas
Please visit the project's homepage at https://metacpan.org/release/App-BenchStartupPreambleModules.
Source repository is at https://github.com/perlancar/perl-App-BenchStartupPreambleModules.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-BenchStartupPreambleModules
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.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 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.
To install App::BenchStartupPreambleModules, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::BenchStartupPreambleModules
CPAN shell
perl -MCPAN -e shell install App::BenchStartupPreambleModules
For more information on module installation, please visit the detailed CPAN module installation guide.