Acme-CPANModules-CalculatingDayOfWeek

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

NAME
    Acme::CPANModules::CalculatingDayOfWeek - List of modules to calculate
    day of week

VERSION
    This document describes version 0.002 of
    Acme::CPANModules::CalculatingDayOfWeek (from Perl distribution
    Acme-CPANModules-CalculatingDayOfWeek), released on 2023-08-06.

SYNOPSIS
    To run benchmark with default option:

     % bencher --cpanmodules-module CalculatingDayOfWeek

    To run module startup overhead benchmark:

     % bencher --module-startup --cpanmodules-module CalculatingDayOfWeek

    For more options (dump scenario, list/include/exclude/add participants,
    list/include/exclude/add datasets, etc), see bencher or run "bencher
    --help".

ACME::CPANMODULES ENTRIES
    Date::DayOfWeek
        Author: RBOW <https://metacpan.org/author/RBOW>

        Both Date::DayOfWeek and Time::DayOfWeek are lightweight modules.

    Time::DayOfWeek
        Author: PIP <https://metacpan.org/author/PIP>

        Both Date::DayOfWeek and Time::DayOfWeek are lightweight modules.

        This module offers cryptic and confusing function names: "DoW"
        returns 0-6, "Dow" returns 3-letter abbrev.

    DateTime
        Author: DROLSKY <https://metacpan.org/author/DROLSKY>

        Compared to Date::DayOfWeek and Time::DayOfWeek, DateTime is a
        behemoth. But it provides a bunch of other functionalities as well.

    Date::Calc
        Author: STBEY <https://metacpan.org/author/STBEY>

        Date::Calc is a nice compromise when you want something that is more
        lightweight and does not need to be as accurate as DateTime.

    Time::Moment
        Author: CHANSEN <https://metacpan.org/author/CHANSEN>

        Time::Moment is also a nice alternative to DateTime. Although it's
        not as featureful as DateTime, it is significantly more lightweight.
        Compared to Date::Calc, Time::Moment's API is closer to DateTime's.
        Being an XS module, it's also faster.

BENCHMARKED MODULES
    Version numbers shown below are the versions used when running the
    sample benchmark.

    Date::DayOfWeek 1.22

    Time::DayOfWeek 1.8

    DateTime 1.59

    Date::Calc 6.4

    Time::Moment 0.44

BENCHMARK PARTICIPANTS
    *   Date::DayOfWeek::dayofweek (perl_code)

        Function call template:

         Date::DayOfWeek::dayofweek(<day>, <month>, <year>)

    *   Time::DayOfWeek::DoW (perl_code)

        Function call template:

         Time::DayOfWeek::DoW(<year>, <month>, <day>)

    *   DateTime (perl_code)

        Code template:

         DateTime->new(year=><year>, month=><month>, day=><day>)->day_of_week

    *   Date::Calc::Day_of_Week (perl_code)

        Function call template:

         Date::Calc::Day_of_Week(<year>, <month>, <day>)

    *   Time::Moment (perl_code)

        Code template:

         Time::Moment->new(year => <year>, month => <month>, day => <day>)->day_of_week

BENCHMARK DATASETS
    *   date1

BENCHMARK SAMPLE RESULTS
  Sample benchmark #1
    Run on: perl: *v5.38.0*, CPU: *Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
    (2 cores)*, OS: *GNU/Linux Ubuntu version 20.04*, OS kernel: *Linux
    version 5.4.0-91-generic*.

    Benchmark command (default options):

     % bencher --cpanmodules-module CalculatingDayOfWeek

README  view on Meta::CPAN


        % perl -MAcme::CM::Get=CalculatingDayOfWeek -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

    or directly:

        % perl -MAcme::CPANModules::CalculatingDayOfWeek -E'say $_->{module} for @{ $Acme::CPANModules::CalculatingDayOfWeek::LIST->{entries} }' | cpanm -n

    This Acme::CPANModules module contains benchmark instructions. You can
    run a benchmark for some/all the modules listed in this
    Acme::CPANModules module using the bencher CLI (from Bencher
    distribution):

        % bencher --cpanmodules-module CalculatingDayOfWeek

    This Acme::CPANModules module also helps lcpan produce a more meaningful
    result for "lcpan related-mods" command when it comes to finding related
    modules for the modules listed in this Acme::CPANModules module. See
    App::lcpan::Cmd::related_mods for more details on how "related modules"
    are found.

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/Acme-CPANModules-CalculatingDayOfWeek>.

SOURCE
    Source repository is at
    <https://github.com/perlancar/perl-Acme-CPANModules-CalculatingDayOfWeek
    >.

SEE ALSO
    Acme::CPANModules - about the Acme::CPANModules namespace

    cpanmodules - CLI tool to let you browse/view the lists

AUTHOR
    perlancar <perlancar@cpan.org>

CONTRIBUTING
    To contribute, you can send patches by email/via RT, or send pull
    requests on GitHub.

    Most of the time, you don't need to build the distribution yourself. You
    can simply modify the code, then test via:

     % prove -l

    If you want to build the distribution (e.g. to try to install it locally
    on your system), you can install Dist::Zilla,
    Dist::Zilla::PluginBundle::Author::PERLANCAR,
    Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two
    other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps
    required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE
    This software is copyright (c) 2023 by perlancar <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.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    <https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Calc
    ulatingDayOfWeek>

    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.



( run in 0.674 second using v1.01-cache-2.11-cpan-39bf76dae61 )