Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Dumbbench for openSUSE:Factory 
checked in at 2021-02-16 22:40:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Dumbbench (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Dumbbench.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Dumbbench"

Tue Feb 16 22:40:23 2021 rev:2 rq:872788 version:0.501

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Dumbbench/perl-Dumbbench.changes    
2018-09-24 13:10:49.601964657 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Dumbbench.new.28504/perl-Dumbbench.changes 
2021-02-16 22:50:54.310698962 +0100
@@ -1,0 +2,11 @@
+Tue Feb 16 03:07:00 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.501
+   see /usr/share/doc/packages/perl-Dumbbench/Changes
+
+  0.501 2021-02-15T16:39:38Z
+       * Align the rates and precision separately (Github #4). This changes
+       the data structure that cmpthese returns by inserting a column in
+       each row.
+
+-------------------------------------------------------------------

Old:
----
  Dumbbench-0.111.tar.gz

New:
----
  Dumbbench-0.501.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Dumbbench.spec ++++++
--- /var/tmp/diff_new_pack.F2xnKw/_old  2021-02-16 22:50:54.854699670 +0100
+++ /var/tmp/diff_new_pack.F2xnKw/_new  2021-02-16 22:50:54.854699670 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Dumbbench
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define cpan_name Dumbbench
 Name:           perl-Dumbbench
-Version:        0.111
+Version:        0.501
 Release:        0
-%define cpan_name Dumbbench
 Summary:        More reliable benchmarking with the least amount of thinking
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Dumbbench/
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Capture::Tiny)
@@ -35,7 +34,7 @@
 BuildRequires:  perl(Number::WithError) >= 1.00
 BuildRequires:  perl(Params::Util)
 BuildRequires:  perl(Statistics::CaseResampling) >= 0.06
-BuildRequires:  perl(Test::More) >= 0.94
+BuildRequires:  perl(Test::More) >= 1
 BuildRequires:  perl(parent)
 Requires:       perl(Capture::Tiny)
 Requires:       perl(Class::XSAccessor) >= 1.05
@@ -70,14 +69,14 @@
 by 'Time::HiRes'' 'time()' function.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
@@ -85,7 +84,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes examples
 %license LICENSE
 

++++++ Dumbbench-0.111.tar.gz -> Dumbbench-0.501.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/.appveyor.yml 
new/Dumbbench-0.501/.appveyor.yml
--- old/Dumbbench-0.111/.appveyor.yml   2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/.appveyor.yml   2021-02-15 17:40:57.000000000 +0100
@@ -1,10 +1,37 @@
+# brian's standard Appveyor config for Perl 5 modules
+# https://github.com/briandfoy/brians_perl_modules_appveyor_config
+# This file is licensed under the Artistic License 2.0
+
+image:
+  - Visual Studio 2015
+  - ubuntu1604
+  - ubuntu1804
+  - ubuntu
+
+environment:
+  PERL5LIB: /home/appveyor/perl5/lib/perl5
+
+platform: x64
+
+branches:
+  only:
+    - master
+    - appveyor
+
 skip_tags: true
-cache:
-  - C:\strawberry
+
 install:
-  - if not exist "C:\strawberry" cinst strawberryperl
-  - set 
PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
+  - cmd: if not exist "C:\strawberry" cinst strawberryperl
+  - cmd: set 
PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
+  - cmd: cd %APPVEYOR_BUILD_FOLDER%
+  - sh: sudo apt-get install build-essential git libssl-dev
+  - sh: sudo apt-get install -y perl
+  - sh: export PATH=/home/appveyor/perl5/bin:$PATH
+  - perl -v
+  - cpan App::cpanminus ExtUtils::MakeMaker
   - cpanm --installdeps .
+
 build_script:
   - perl Makefile.PL
-  - dmake test
+  - cmd: gmake test
+  - sh: make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/Changes new/Dumbbench-0.501/Changes
--- old/Dumbbench-0.111/Changes 2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/Changes 2021-02-15 17:40:57.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for Perl module Dumbbench
 
+0.501 2021-02-15T16:39:38Z
+       * Align the rates and precision separately (Github #4). This changes
+       the data structure that cmpthese returns by inserting a column in
+       each row.
+
 0.111 2017-06-17T06:50:28Z
        * Add a --float option to use basic floating point notation
        instead of scientific notation (Eric Herman, Pull Request #6 in 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/LICENSE new/Dumbbench-0.501/LICENSE
--- old/Dumbbench-0.111/LICENSE 2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/LICENSE 2021-02-15 17:40:57.000000000 +0100
@@ -1,177 +1,3 @@
-The Dumbbench module is licensed under the same terms as perl
-itself, under the Artistic License 2.0.
-
-
-Artistic License 2.0
-Copyright (c) 2000-2006, The Perl Foundation.
-http://www.perlfoundation.org/artistic_license_2_0
-
-Preamble
-
-This license establishes the terms under which a given free software
-Package may be copied, modified, distributed, and/or redistributed.
-The intent is that the Copyright Holder maintains some artistic
-control over the development of that Package while still keeping the
-Package available as open source and free software.
-
-You are always permitted to make arrangements wholly outside of this
-license directly with the Copyright Holder of a given Package. If the
-terms of this license do not permit the full use that you propose to
-make of the Package, you should contact the Copyright Holder and seek
-a different licensing arrangement.
-
-Definitions
-
-"Copyright Holder" means the individual(s) or organization(s) named in
-the copyright notice for the entire Package.
-
-"Contributor" means any party that has contributed code or other
-material to the Package, in accordance with the Copyright Holder's
-procedures.
-
-"You" and "your" means any person who would like to copy, distribute,
-or modify the Package.
-
-"Package" means the collection of files distributed by the Copyright
-Holder, and derivatives of that collection and/or of those files. A
-given Package may consist of either the Standard Version, or a
-Modified Version.
-
-"Distribute" means providing a copy of the Package or making it
-accessible to anyone else, or in the case of a company or
-organization, to others outside of your company or organization.
-
-"Distributor Fee" means any fee that you charge for Distributing this
-Package or providing support for this Package to another party. It
-does not mean licensing fees.
-
-"Standard Version" refers to the Package if it has not been modified,
-or has been modified only in ways explicitly requested by the
-Copyright Holder.
-
-"Modified Version" means the Package, if it has been changed, and such
-changes were not explicitly requested by the Copyright Holder.
-
-"Original License" means this Artistic License as Distributed with the
-Standard Version of the Package, in its current version or as it may
-be modified by The Perl Foundation in the future.
-
-"Source" form means the source code, documentation source, and
-configuration files for the Package.
-
-"Compiled" form means the compiled bytecode, object code, binary, or
-any other form resulting from mechanical transformation or translation
-of the Source form.
-
-Permission for Use and Modification Without Distribution
-
-(1) You are permitted to use the Standard Version and create and use
-Modified Versions for any purpose without restriction, provided that
-you do not Distribute the Modified Version.
-
-Permissions for Redistribution of the Standard Version
-
-(2) You may Distribute verbatim copies of the Source form of the
-Standard Version of this Package in any medium without restriction,
-either gratis or for a Distributor Fee, provided that you duplicate
-all of the original copyright notices and associated disclaimers. At
-your discretion, such verbatim copies may or may not include a
-Compiled form of the Package.
-
-(3) You may apply any bug fixes, portability changes, and other
-modifications made available from the Copyright Holder. The resulting
-Package will still be considered the Standard Version, and as such
-will be subject to the Original License.
-
-Distribution of Modified Versions of the Package as Source
-
-(4) You may Distribute your Modified Version as Source (either gratis
-or for a Distributor Fee, and with or without a Compiled form of the
-Modified Version) provided that you clearly document how it differs
-from the Standard Version, including, but not limited to, documenting
-any non-standard features, executables, or modules, and provided that
-you do at least ONE of the following:
-
-       (a) make the Modified Version available to the Copyright Holder of the
-       Standard Version, under the Original License, so that the Copyright
-       Holder may include your modifications in the Standard Version.
-
-       (b) ensure that installation of your Modified Version does not prevent
-       the user installing or running the Standard Version. In addition, the
-       Modified Version must bear a name that is different from the name of
-       the Standard Version.
-
-       (c) allow anyone who receives a copy of the Modified Version to make
-       the Source form of the Modified Version available to others under
-
-               (i) the Original License or
-
-               (ii) a license that permits the licensee to freely copy, modify 
and
-               redistribute the Modified Version using the same licensing 
terms that
-               apply to the copy that the licensee received, and requires that 
the
-               Source form of the Modified Version, and of any works derived 
from it,
-               be made freely available in that license fees are prohibited but
-               Distributor Fees are allowed.
-
-Distribution of Compiled Forms of the Standard Version or Modified
-Versions without the Source
-
-(5) You may Distribute Compiled forms of the Standard Version without
-the Source, provided that you include complete instructions on how to
-get the Source of the Standard Version. Such instructions must be
-valid at the time of your distribution. If these instructions, at any
-time while you are carrying out such distribution, become invalid, you
-must provide new instructions on demand or cease further distribution.
-If you provide valid instructions or cease distribution within thirty
-days after you become aware that the instructions are invalid, then
-you do not forfeit any of your rights under this license.
-
-(6) You may Distribute a Modified Version in Compiled form without the
-Source, provided that you comply with Section 4 with respect to the
-Source of the Modified Version.
-
-Aggregating or Linking the Package
-
-(7) You may aggregate the Package (either the Standard Version or
-Modified Version) with other packages and Distribute the resulting
-aggregation provided that you do not charge a licensing fee for the
-Package. Distributor Fees are permitted, and licensing fees for other
-components in the aggregation are permitted. The terms of this license
-apply to the use and Distribution of the Standard or Modified Versions
-as included in the aggregation.
-
-(8) You are permitted to link Modified and Standard Versions with
-other works, to embed the Package in a larger work of your own, or to
-build stand-alone binary or bytecode versions of applications that
-include the Package, and Distribute the result without restriction,
-provided the result does not expose a direct interface to the Package.
-
-Items That are Not Considered Part of a Modified Version
-
-(9) Works (including, but not limited to, modules and scripts) that
-merely extend or make use of the Package, do not, by themselves, cause
-the Package to be a Modified Version. In addition, such works are not
-considered parts of the Package itself, and are not subject to the
-terms of this license.
-
-General Provisions
-
-(10) Any use, modification, and distribution of the Standard or
-Modified Versions is governed by this Artistic License. By using,
-modifying or distributing the Package, you accept this license. Do not
-use, modify, or distribute the Package, if you do not accept this
-license.
-
-(11) If your Modified Version has been derived from a Modified Version
-made by someone other than you, you are nevertheless required to
-ensure that your Modified Version complies with the requirements of
-this license.
-
-(12) This license does not grant you the right to use any trademark,
-service mark, tradename, or logo of the Copyright Holder.
-
-(13) This license includes the non-exclusive, worldwide,
-free-of-charge patent license to make, have made, use, offer to sell,
-sell, import and otherwise transfer the Package with respect to any
-patent claims licensable by the Copyright Holder that are necessarily
-infringed by the Package. If you institute patent litigation
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.8.1 or,
+at your option, any later version of Perl 5 you may have available.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/MANIFEST new/Dumbbench-0.501/MANIFEST
--- old/Dumbbench-0.111/MANIFEST        2017-06-17 08:54:42.000000000 +0200
+++ new/Dumbbench-0.501/MANIFEST        2021-02-15 17:41:00.000000000 +0100
@@ -1,6 +1,9 @@
 .appveyor.yml
 bin/dumbbench
 Changes
+examples/cmpthese.pl
+examples/negative_rate.pl
+examples/timethese.pl
 examples/TryPackage.pm
 INSTALL.SKIP
 lib/Benchmark/Dumb.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/MANIFEST.SKIP 
new/Dumbbench-0.501/MANIFEST.SKIP
--- old/Dumbbench-0.111/MANIFEST.SKIP   2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/MANIFEST.SKIP   2021-02-15 17:40:57.000000000 +0100
@@ -61,5 +61,9 @@
 # Avoid archives of this distribution
 \bDumbbench-[\d\.\_]+
 
-\.travis.yml
-\.releaserc
+\.?releaserc
+\bMANIFEST\s\d
+\bChanges\s\d
+\.icloud$
+\A\.github\b
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/META.json 
new/Dumbbench-0.501/META.json
--- old/Dumbbench-0.111/META.json       2017-06-17 08:54:41.000000000 +0200
+++ new/Dumbbench-0.501/META.json       2021-02-15 17:41:00.000000000 +0100
@@ -4,13 +4,13 @@
       "Steffen Mueller <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Dumbbench",
    "no_index" : {
@@ -49,7 +49,7 @@
       },
       "test" : {
          "requires" : {
-            "Test::More" : "0.94"
+            "Test::More" : "1"
          }
       }
    },
@@ -65,6 +65,6 @@
          "web" : "https://github.com/briandfoy/dumbbench";
       }
    },
-   "version" : "0.111",
-   "x_serialization_backend" : "JSON::PP version 2.27300"
+   "version" : "0.501",
+   "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/META.yml new/Dumbbench-0.501/META.yml
--- old/Dumbbench-0.111/META.yml        2017-06-17 08:54:41.000000000 +0200
+++ new/Dumbbench-0.501/META.yml        2021-02-15 17:40:59.000000000 +0100
@@ -3,12 +3,12 @@
 author:
   - 'Steffen Mueller <[email protected]>'
 build_requires:
-  Test::More: '0.94'
+  Test::More: '1'
 configure_requires:
   ExtUtils::MakeMaker: '6.64'
   File::Spec::Functions: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter 
version 2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -37,5 +37,5 @@
   bugtracker: https://github.com/briandfoy/dumbbench/issues
   homepage: https://github.com/briandfoy/dumbbench
   repository: https://github.com/briandfoy/dumbbench.git
-version: '0.111'
+version: '0.501'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/Makefile.PL 
new/Dumbbench-0.501/Makefile.PL
--- old/Dumbbench-0.111/Makefile.PL     2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/Makefile.PL     2021-02-15 17:40:57.000000000 +0100
@@ -63,19 +63,19 @@
                },
 
        'TEST_REQUIRES' => {
-               'Test::More' => '0.94',
+               'Test::More' => '1',
                },
 
        'PREREQ_PM'     => {
-               'Number::WithError' => '1.00',
-               'Class::XSAccessor' => '1.05',
-               'Carp'              => '0',
-               'Time::HiRes'       => '0',
                'Capture::Tiny'     => '0',
+               'Carp'              => '0',
+               'Class::XSAccessor' => '1.05',
+               'Devel::CheckOS'    => '0',
+               'Number::WithError' => '1.00',
                'Params::Util'      => '0',
                'parent'            => '0',
                'Statistics::CaseResampling' => '0.06',
-               'Devel::CheckOS'    => '0',
+               'Time::HiRes'       => '0',
                },
 
        'META_MERGE' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/README.pod 
new/Dumbbench-0.501/README.pod
--- old/Dumbbench-0.111/README.pod      2017-06-17 08:54:40.000000000 +0200
+++ new/Dumbbench-0.501/README.pod      2021-02-15 17:40:57.000000000 +0100
@@ -2,13 +2,19 @@
 
 =encoding utf8
 
-=for HTML <a href="https://travis-ci.org/briandfoy/dumbbench";><img 
src="https://travis-ci.org/briandfoy/dumbbench.svg?branch=master";></a>
+=for HTML <a 
href="https://www.github.com/briandfoy/dumbbench/actions?query=workflow%3Amacos";><img
 src="https://www.github.com/briandfoy/dumbbench/workflows/macos/badge.svg";></a>
+
+=for HTML <a 
href="https://www.github.com/briandfoy/dumbbench/actions?query=workflow%3Aubuntu";><img
 
src="https://www.github.com/briandfoy/dumbbench/workflows/ubuntu/badge.svg";></a>
+
+=for HTML <a 
href="https://www.github.com/briandfoy/dumbbench/actions?query=workflow%3Awindows";><img
 
src="https://www.github.com/briandfoy/dumbbench/workflows/windows/badge.svg";></a>
+
+=for HTML <a href="https://ci.appveyor.com/project/briandfoy/dumbbench";><img 
src="https://ci.appveyor.com/api/projects/status/m9itp214stfr00iu?svg=true"; 
/></a>
 
 =for HTML <a 
href='https://coveralls.io/github/briandfoy/dumbbench?branch=master'><img 
src='https://coveralls.io/repos/github/briandfoy/dumbbench/badge.svg?branch=master'
 alt='Coverage Status' /></a>
 
 =for HTML <a 
href="https://github.com/briandfoy/dumbbench/blob/master/LICENSE";><img 
src="https://img.shields.io/cpan/l/Dumbbench.svg"; /></a>
 
-=for HTML <a href="http://www.metacpan.org/module/Dumbbench";><img 
src="https://img.shields.io/cpan/v/Dumbbench.svg"; /></A>
+=for HTML <a href="https://metacpan.org/pod/Dumbbench";><img 
src="https://img.shields.io/cpan/v/Dumbbench.svg"; /></A>
 
 =head1 The Dumbbench module
 
@@ -21,7 +27,7 @@
 
 To read about L<Dumbbench>, look at the embedded documentation
 in the module itself. Inside the distribution, you can format it
-with L<perldoc|http://perldoc.perl.org/perldoc.html>:
+with L<perldoc|https://perldoc.perl.orgperldoc.html>:
 
        % perldoc lib/Dumbbench.pm
 
@@ -30,17 +36,8 @@
 
        % perldoc Dumbbench
 
-You can read the documentation and inspect the meta data on one of the
-CPAN web interfaces, such as L<CPAN 
Search|http://search.cpan.org/dist/Dumbbench> or
-L<MetaCPAN|http://www.metacpan.org/module/Dumbbench>:
-
-=over 4
-
-=item *        L<http://search.cpan.org/dist/Dumbbench>
-
-=item *        L<http://www.metacpan.org/module/Dumbbench>
-
-=back
+You can read the documentation and inspect the meta data on
+L<MetaCPAN|https://metacpan.org/pod/Dumbbench>.
 
 The standard module documentation has example uses in the SYNOPSIS
 section, but you can also look in the I<examples/> directory (if it's
@@ -120,7 +117,7 @@
 you diagnose your problem.
 
 You might like to read L<brian's Guide to Solving Any Perl
-Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>.
+Problem|https://briandfoy.github.io/brians-guide-to-solving-any-perl-problem/>.
 
 =head2 Copyright and License
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/examples/cmpthese.pl 
new/Dumbbench-0.501/examples/cmpthese.pl
--- old/Dumbbench-0.111/examples/cmpthese.pl    1970-01-01 01:00:00.000000000 
+0100
+++ new/Dumbbench-0.501/examples/cmpthese.pl    2021-02-15 17:40:57.000000000 
+0100
@@ -0,0 +1,7 @@
+#!perl
+
+use lib qw(lib);
+use Benchmark::Dumb qw(cmpthese);
+
+cmpthese( 500.01, { a => "++\$i", b => "\$i *= 2" } ) ;
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/examples/negative_rate.pl 
new/Dumbbench-0.501/examples/negative_rate.pl
--- old/Dumbbench-0.111/examples/negative_rate.pl       1970-01-01 
01:00:00.000000000 +0100
+++ new/Dumbbench-0.501/examples/negative_rate.pl       2021-02-15 
17:40:57.000000000 +0100
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+
+use lib qw(lib);
+
+use Benchmark::Dumb qw(:all);
+# use Benchmark qw(:all :hireswallclock);
+use Time::HiRes qw(sleep);
+
+cmpthese 0, {
+    fast => sub { return 1 },
+    slow => sub { sleep 0.001; return 1 },
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/examples/timethese.pl 
new/Dumbbench-0.501/examples/timethese.pl
--- old/Dumbbench-0.111/examples/timethese.pl   1970-01-01 01:00:00.000000000 
+0100
+++ new/Dumbbench-0.501/examples/timethese.pl   2021-02-15 17:40:57.000000000 
+0100
@@ -0,0 +1,12 @@
+#!perl
+use v5.10;
+
+use lib qw(lib);
+use Benchmark::Dumb qw(cmpthese timethese);
+use Data::Dumper;
+
+my $results = timethese( 100.01, { a => "++\$i", b => "\$i *= 2" } );
+say Dumper( $results );
+
+my $rc = cmpthese( $results );
+say Dumper( $rc );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/lib/Benchmark/Dumb.pm 
new/Dumbbench-0.501/lib/Benchmark/Dumb.pm
--- old/Dumbbench-0.111/lib/Benchmark/Dumb.pm   2017-06-17 08:54:40.000000000 
+0200
+++ new/Dumbbench-0.501/lib/Benchmark/Dumb.pm   2021-02-15 17:40:57.000000000 
+0100
@@ -13,7 +13,7 @@
   Dumbbench::Result
 );
 
-our $VERSION = '0.111';
+our $VERSION = '0.501';
 
 require Exporter;
 
@@ -151,15 +151,19 @@
 
   my @cols = map $_->[0], @sort_res;
   my @rows = (
-    ['', 'Rate', @cols]
+    ['', 'Rate/s', 'Precision/s', @cols]
   );
 
   foreach my $record (@sort_res) {
     my ($name, $bench, $rate) = @$record;
-    my $rstr = $bench->_rate_str($rate) . '/s';
+    my $rstr = $bench->_rate_str($rate);
+
     $rstr =~ s/\s+//g;
+
+    my @rstr = split /\+-/, $rstr;
+
     my @row;
-    push @row, $name, $rstr;
+    push @row, $name, @rstr;
 
     foreach my $cmp_record (@sort_res) {
       my ($cmp_name, $cmp_bench, $cmp_rate) = @$cmp_record;
@@ -471,9 +475,9 @@
 
 outputs a chart like:
 
-                   Rate        b      a
-  b   5.75e+06+-47000/s       -- -70.1%
-  a 1.925e+07+-650000/s 235+-12%     --
+                Rate/s Precision/s       a       b
+       a -3.59e+07       6e+06      -- -535.3%
+       b  8.24e+06      220000 -123.0%      --
 
 This chart is sorted from slowest to fastest, and shows the percent speed 
difference between each pair of tests
 as well as the uncertainties on the rates and the relative speed difference. 
The uncertainty on a speed difference
@@ -493,11 +497,11 @@
 
 returns a data structure like:
 
-  [
-    [ '',                 'Rate',        'b',      'a' ],
-    [ 'b',   '5.75e+06+-47000/s',       '--', '-70.1%' ],
-    [ 'a', '1.925e+07+-650000/s', '235+-12%',     '--' ],
-  ]
+        [
+          [ '', 'Rate/s', 'Precision/s', 'a', 'b' ],
+          [ 'a', '-4.43e+06', '120000', '--', '93+-6.9%' ],
+          [ 'b', '-2.294e+06', '52000', '-48.2%', '--' ]
+        ];
 
 =head1 METHODS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.111/lib/Dumbbench.pm 
new/Dumbbench-0.501/lib/Dumbbench.pm
--- old/Dumbbench-0.111/lib/Dumbbench.pm        2017-06-17 08:54:40.000000000 
+0200
+++ new/Dumbbench-0.501/lib/Dumbbench.pm        2021-02-15 17:40:57.000000000 
+0100
@@ -4,7 +4,7 @@
 use Carp ();
 use Time::HiRes ();
 
-our $VERSION = '0.111';
+our $VERSION = '0.501';
 
 require Dumbbench::Result;
 require Dumbbench::Stats;
@@ -370,7 +370,7 @@
 
 =head2 add_instances
 
-Takes one ore more instances of subclasses of L<Dumbbench::Instance>
+Takes one or more instances of subclasses of L<Dumbbench::Instance>
 as argument. Each of those is one I<benchmark>, really.
 They are run in sequence and reported separately.
 

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#  baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

Reply via email to