-
-
21 Dec 2018 09:27:10 UTC
- Distribution: Bencher-Scenarios-TimeHiRes
- Module version: 0.003
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (271 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (20.41KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- BENCHMARKED MODULES
- BENCHMARK PARTICIPANTS
- HOMEPAGE
- SOURCE
- BUGS
- SEE ALSO
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
Bencher::Scenario::TimeHiRes::usleep_accuracy - Demonstrate inaccuracy of doing lots of small usleep
VERSION
This document describes version 0.003 of Bencher::Scenario::TimeHiRes::usleep_accuracy (from Perl distribution Bencher-Scenarios-TimeHiRes), released on 2018-12-21.
SYNOPSIS
To run benchmark with default option:
% bencher -m TimeHiRes::usleep_accuracy
To run module startup overhead benchmark:
% bencher --module-startup -m TimeHiRes::usleep_accuracy
For more options (dump scenario, list/include/exclude/add participants, list/include/exclude/add datasets, etc), see bencher or run
bencher --help
.DESCRIPTION
Basically the same as Bencher::Scenario::TimeHiRes::sleep_accuracy.
BENCHMARKED MODULES
Version numbers shown below are the versions used when running the sample benchmark.
BENCHMARK PARTICIPANTS
1e5 x1 (perl_code)
Function call template:
Time::HiRes::usleep(1e5)
1e4 x10 (perl_code)
Function call template:
Time::HiRes::usleep(1e4) for 1..10
1e3 x100 (perl_code)
Function call template:
Time::HiRes::usleep(1e3) for 1..100
1e2 x1000 (perl_code)
Function call template:
Time::HiRes::usleep(1e2) for 1..1000
1e1 x10000 (perl_code)
Function call template:
Time::HiRes::usleep(1e1) for 1..10000
1e0 x100000 (perl_code)
Function call template:
Time::HiRes::usleep(1e0) for 1..100_000
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Bencher-Scenarios-TimeHiRes.
SOURCE
Source repository is at https://github.com/perlancar/perl-Bencher-Scenarios-TimeHiRes.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Bencher-Scenarios-TimeHiRes
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) 2018, 2017, 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.
Module Install Instructions
To install Bencher::Scenarios::TimeHiRes, copy and paste the appropriate command in to your terminal.
cpanm Bencher::Scenarios::TimeHiRes
perl -MCPAN -e shell install Bencher::Scenarios::TimeHiRes
For more information on module installation, please visit the detailed CPAN module installation guide.