perl-Benchmarks-0.10-alt1.noarch.rpm


Advertisement

Description

perl-Benchmarks - The comparison benchmarker

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Benchmarks
Package version 0.10
Package release alt1
Package architecture noarch
Package type rpm
Installed size 6.00 KB
Download size 6.00 KB
Official Mirror ftp.altlinux.org
Benchmarks is the the Benchamark manpage wrapper for comparing routines easily.
When this module was loaded, all you need to do is pass the CODE reference that returns hash reference.
use Benchmarks sub {
+{
'routine_name_1' => sub { '... some code ...' },
'routine_name_2' => sub { '... some code ...' },
};
};
Then the comparison will be invoked and show the result like below.
Benchmark: running raise, times for at least 1 CPU seconds...
raise: -1 wallclock secs ( 1.07 usr +  0.00 sys =  1.07 CPU) @ 8895180.37/s (n=9517843)
times:  2 wallclock secs ( 1.10 usr +  0.00 sys =  1.10 CPU) @ 4051316.36/s (n=4456448)
Rate times raise
times 4051316/s    --  -54%
raise 8895180/s  120%    --
NOTE that `Benchmarks' exports *ALL* functions from `Benchmark'. You can use `Benchmarks' module as same as Benchmark module.
use Benchmarks;
timethis (-1, sub { bless +{}, 'Foo' } );
More information about functions: https://metacpan.org/pod/Benchmark#Standard-Exports and https://metacpan.org/pod/Benchmark#Optional-Exports

Alternatives

Package Version Architecture Repository
perl-Benchmarks - - -

Requires

Name Value
/usr/share/perl5 -
perl(Benchmark.pm) >= 1.070
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Benchmarks.pm) = 0.100
perl-Benchmarks = 0.10-alt1

Download

Type URL
Binary Package perl-Benchmarks-0.10-alt1.noarch.rpm
Source Package perl-Benchmarks-0.10-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Benchmarks rpm package:
    # sudo apt-get install perl-Benchmarks

Files

Path
/usr/share/doc/perl-Benchmarks-0.10/Changes
/usr/share/doc/perl-Benchmarks-0.10/README.pod
/usr/share/perl5/Benchmarks.pm

See Also

Package Description
perl-Benchmarks-scripts-0.10-alt1.noarch.rpm Benchmarks scripts
perl-Bencode-1.501-alt1_4.noarch.rpm BitTorrent serialization format
perl-BerkeleyDB-Easy-0.06-alt1.noarch.rpm BerkeleyDB wrapper with Perlish interface and error handling
perl-BerkeleyDB-Lite-1_1-alt1.noarch.rpm perl module BerkeleyDB-Lite
perl-BerkeleyDB-Manager-0.12-alt3_8.noarch.rpm General purpose L<BerkeleyDB> wrapper
perl-BerkeleyDB-SecIndices-Accessor-0.06-alt1.noarch.rpm Simply drive your BerkeleyDB
perl-Bessarabv-Sleep-1.0.0-alt1.noarch.rpm get Ivan Bessarabov's sleep data
perl-Bessarabv-Weight-1.0.0-alt1.noarch.rpm get Ivan Bessarabov's weight data
perl-Bhagavatgita-2.05-alt1.noarch.rpm obtain Gita verses
perl-Bhagavatgita-scripts-2.05-alt1.noarch.rpm Bhagavatgita scripts
perl-Bib-CrossRef-0.10-alt1.noarch.rpm Uses crossref to robustly parse bibliometric references
perl-Bib-Tools-0.15-alt1.noarch.rpm For managing collections of Bib::CrossRef references
perl-Bible-OBML-1.10-alt1.noarch.rpm Open Bible Markup Language parser and renderer
perl-Bible-Reference-1.02-alt1.noarch.rpm Simple Bible reference parser, tester, and canonicalizer
perl-Biblio-COUNTER-0.11-alt1.noarch.rpm COUNTER Codes of Practice report processing
Advertisement
Advertisement