#!perl

our $DATE = '2015-06-19'; # DATE
our $VERSION = '0.01'; # VERSION

use 5.010001;
use strict;
use warnings;

use Benchmark::Command;

Benchmark::Command::run(
    undef,
    {
        'none'                => [$^X, "-e1"],

        'DateTime'            => [$^X, "-e", "use DateTime"],
        'Time::Moment'        => [$^X, "-e", "use Time::Moment"],
    },
);

# ABSTRACT: Benchmark startup time of Perl date modules
# PODNAME: bench-startup-date-modules

__END__

=pod

=encoding UTF-8

=head1 NAME

bench-startup-date-modules - Benchmark startup time of Perl date modules

=head1 VERSION

This document describes version 0.01 of bench-startup-date-modules (from Perl distribution App-BenchDateModules), released on 2015-06-19.

=head1 SYNOPSIS

 % bench-startup-date-modules

Sample output:

                         Rate  DateTime Time::Moment   none
 DateTime     14.914+-0.013/s        --       -82.1% -97.4%
 Time::Moment     83.1+-1.2/s 457.4+-8%           -- -85.8%
 none            584.1+-4.8/s 3816+-32%     603+-12%     --
 
 Average times:
   none        :     1.7120ms
   Time::Moment:    12.0337ms
   DateTime    :    67.0511ms

=head1 SEE ALSO

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-BenchDateModules>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-App-BenchDateModules>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-BenchDateModules>

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.

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

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.

=cut
