The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bencher::Scenario::Test::Sleep - A test scenario, containing Time::HiRes::sleep() commands

VERSION

This document describes version 0.001 of Bencher::Scenario::Test::Sleep (from Perl distribution Bencher-Scenario-Test-Sleep), released on 2016-10-09.

SYNOPSIS

To run benchmark with default option:

 % bencher -m Test::Sleep

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

BENCHMARK PARTICIPANTS

  • sleep(2.9) (perl_code)

    Code template:

     Time::HiRes::sleep 2.9
  • sleep(1.1) (perl_code)

    Code template:

     Time::HiRes::sleep 1.1
  • sleep(0.5) (perl_code)

    Code template:

     Time::HiRes::sleep 0.5

DESCRIPTION

Packaging a benchmark script as a Bencher scenario makes it convenient to include/exclude/add participants/datasets (either via CLI or Perl code), send the result to a central repository, among others . See Bencher and bencher (CLI) for more details.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Bencher-Scenario-Test-Sleep.

SOURCE

Source repository is at https://github.com/perlancar/perl-Bencher-Scenario-Test-Sleep.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-Scenario-Test-Sleep

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

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.