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 2022-04-28 23:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Dumbbench (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Dumbbench.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Dumbbench"

Thu Apr 28 23:07:50 2022 rev:3 rq:973325 version:0.503

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Dumbbench/perl-Dumbbench.changes    
2021-02-16 22:50:54.310698962 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Dumbbench.new.1538/perl-Dumbbench.changes  
2022-04-28 23:07:53.900682940 +0200
@@ -1,0 +2,9 @@
+Fri Apr 22 03:08:18 UTC 2022 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.503
+   see /usr/share/doc/packages/perl-Dumbbench/Changes
+
+  0.503 2022-04-21T08:47:35Z
+       * xenu replaced time() with clock_gettime(CLOCK_MONOTONIC) GitHub #11
+
+-------------------------------------------------------------------

Old:
----
  Dumbbench-0.501.tar.gz

New:
----
  Dumbbench-0.503.tar.gz

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

Other differences:
------------------
++++++ perl-Dumbbench.spec ++++++
--- /var/tmp/diff_new_pack.mhYpPk/_old  2022-04-28 23:07:54.472683563 +0200
+++ /var/tmp/diff_new_pack.mhYpPk/_new  2022-04-28 23:07:54.476683567 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Dumbbench
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
 
 %define cpan_name Dumbbench
 Name:           perl-Dumbbench
-Version:        0.501
+Version:        0.503
 Release:        0
-Summary:        More reliable benchmarking with the least amount of thinking
 License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        More reliable benchmarking with the least amount of thinking
 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
@@ -31,6 +31,7 @@
 BuildRequires:  perl(Capture::Tiny)
 BuildRequires:  perl(Class::XSAccessor) >= 1.05
 BuildRequires:  perl(Devel::CheckOS)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.64
 BuildRequires:  perl(Number::WithError) >= 1.00
 BuildRequires:  perl(Params::Util)
 BuildRequires:  perl(Statistics::CaseResampling) >= 0.06

++++++ Dumbbench-0.501.tar.gz -> Dumbbench-0.503.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/Changes new/Dumbbench-0.503/Changes
--- old/Dumbbench-0.501/Changes 2021-02-15 17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/Changes 2022-04-21 10:48:44.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Perl module Dumbbench
 
+0.503 2022-04-21T08:47:35Z
+       * xenu replaced time() with clock_gettime(CLOCK_MONOTONIC) GitHub #11
+
 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/META.json 
new/Dumbbench-0.503/META.json
--- old/Dumbbench-0.501/META.json       2021-02-15 17:41:00.000000000 +0100
+++ new/Dumbbench-0.503/META.json       2022-04-21 10:48:45.000000000 +0200
@@ -4,7 +4,7 @@
       "Steffen Mueller <smuel...@cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -65,6 +65,6 @@
          "web" : "https://github.com/briandfoy/dumbbench";
       }
    },
-   "version" : "0.501",
-   "x_serialization_backend" : "JSON::PP version 4.04"
+   "version" : "0.503",
+   "x_serialization_backend" : "JSON::PP version 4.07"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/META.yml new/Dumbbench-0.503/META.yml
--- old/Dumbbench-0.501/META.yml        2021-02-15 17:40:59.000000000 +0100
+++ new/Dumbbench-0.503/META.yml        2022-04-21 10:48:45.000000000 +0200
@@ -8,7 +8,7 @@
   ExtUtils::MakeMaker: '6.64'
   File::Spec::Functions: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.64, 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.501'
+version: '0.503'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/Makefile.PL 
new/Dumbbench-0.503/Makefile.PL
--- old/Dumbbench-0.501/Makefile.PL     2021-02-15 17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/Makefile.PL     2022-04-21 10:48:44.000000000 +0200
@@ -52,7 +52,7 @@
        'LICENSE'       => 'perl',
        'AUTHOR'        => 'Steffen Mueller <smuel...@cpan.org>',
 
-    'EXE_FILES' => ['bin/dumbbench'],
+       'EXE_FILES' => ['bin/dumbbench'],
 
        'CONFIGURE_REQUIRES' => {
                'ExtUtils::MakeMaker'   => '6.64',
@@ -75,7 +75,8 @@
                'Params::Util'      => '0',
                'parent'            => '0',
                'Statistics::CaseResampling' => '0.06',
-               'Time::HiRes'       => '0',
+               # Time::HiRes::clock_gettime() for Windows was implemented in 
1.9764
+               'Time::HiRes'       => ($^O eq 'MSWin32' ? '1.9764': '0'),
                },
 
        'META_MERGE' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/README.pod 
new/Dumbbench-0.503/README.pod
--- old/Dumbbench-0.501/README.pod      2021-02-15 17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/README.pod      2022-04-21 10:48:44.000000000 +0200
@@ -27,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|https://perldoc.perl.orgperldoc.html>:
+with L<perldoc|https://perldoc.perl.org/perldoc.html>:
 
        % perldoc lib/Dumbbench.pm
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Benchmark/Dumb.pm 
new/Dumbbench-0.503/lib/Benchmark/Dumb.pm
--- old/Dumbbench-0.501/lib/Benchmark/Dumb.pm   2021-02-15 17:40:57.000000000 
+0100
+++ new/Dumbbench-0.503/lib/Benchmark/Dumb.pm   2022-04-21 10:48:44.000000000 
+0200
@@ -13,7 +13,7 @@
   Dumbbench::Result
 );
 
-our $VERSION = '0.501';
+our $VERSION = '0.503';
 
 require Exporter;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Dumbbench/BoxPlot.pm 
new/Dumbbench-0.503/lib/Dumbbench/BoxPlot.pm
--- old/Dumbbench-0.501/lib/Dumbbench/BoxPlot.pm        2021-02-15 
17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/lib/Dumbbench/BoxPlot.pm        2022-04-21 
10:48:44.000000000 +0200
@@ -3,6 +3,15 @@
 use warnings;
 use List::Util qw/min max sum/;
 require Dumbbench;
+
+BEGIN {
+       eval {
+               require SOOT;
+               SOOT->import( ':all' );
+               1;
+               } or die "You need the SOOT module to use 
Dumbbench::BoxPlot.\nThis is not an easy installation, which is why we don't 
require it.\n";
+       }
+
 use SOOT qw/:all/;
 
 use Class::XSAccessor {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Dumbbench/Instance/Cmd.pm 
new/Dumbbench-0.503/lib/Dumbbench/Instance/Cmd.pm
--- old/Dumbbench-0.501/lib/Dumbbench/Instance/Cmd.pm   2021-02-15 
17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/lib/Dumbbench/Instance/Cmd.pm   2022-04-21 
10:48:44.000000000 +0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 use Carp ();
-use Time::HiRes ();
+use Time::HiRes qw(clock_gettime CLOCK_MONOTONIC);
 
 use Dumbbench::Instance;
 use parent 'Dumbbench::Instance';
@@ -93,15 +93,15 @@
   my ($start, $end);
   if ($self->use_shell) {
     my $cmd = join ' ', @cmd;
-    $start = Time::HiRes::time();
+    $start = clock_gettime(CLOCK_MONOTONIC);
     system($cmd);
-    $end = Time::HiRes::time();
+    $end = clock_gettime(CLOCK_MONOTONIC);
   }
   else {
     my $cmd = $cmd[0];
-    $start = Time::HiRes::time();
+    $start = clock_gettime(CLOCK_MONOTONIC);
     system({$cmd} @cmd);
-    $end = Time::HiRes::time();
+    $end = clock_gettime(CLOCK_MONOTONIC);
   }
 
   my $duration = $end-$start;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Dumbbench/Instance/PerlEval.pm 
new/Dumbbench-0.503/lib/Dumbbench/Instance/PerlEval.pm
--- old/Dumbbench-0.501/lib/Dumbbench/Instance/PerlEval.pm      2021-02-15 
17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/lib/Dumbbench/Instance/PerlEval.pm      2022-04-21 
10:48:44.000000000 +0200
@@ -13,7 +13,7 @@
 use strict;
 use warnings;
 use Carp ();
-use Time::HiRes ();
+use Time::HiRes qw(clock_gettime CLOCK_MONOTONIC);
 
 use Dumbbench::Instance;
 use parent 'Dumbbench::Instance';
@@ -111,9 +111,9 @@
     #my $start;
     #my $tbase = Time::HiRes::time();
     #while ( ($start = Time::HiRes::time()) <= $tbase+1.e-15 ) {} # wait for 
clock tick. See discussion in Benchmark.pm comments
-    my $start = Time::HiRes::time();
+    my $start = clock_gettime(CLOCK_MONOTONIC);
     Dumbbench::Instance::PerlEval::_Lexical::doeval($n, \$code);
-    my $end = Time::HiRes::time();
+    my $end = clock_gettime(CLOCK_MONOTONIC);
 
     $duration = $end-$start;
     if ($duration > TOO_SMALL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Dumbbench/Instance/PerlSub.pm 
new/Dumbbench-0.503/lib/Dumbbench/Instance/PerlSub.pm
--- old/Dumbbench-0.501/lib/Dumbbench/Instance/PerlSub.pm       2021-02-15 
17:40:57.000000000 +0100
+++ new/Dumbbench-0.503/lib/Dumbbench/Instance/PerlSub.pm       2022-04-21 
10:48:44.000000000 +0200
@@ -14,7 +14,7 @@
 use strict;
 use warnings;
 use Carp ();
-use Time::HiRes ();
+use Time::HiRes qw(clock_gettime CLOCK_MONOTONIC);
 
 use Dumbbench::Instance;
 use parent 'Dumbbench::Instance';
@@ -112,9 +112,9 @@
     #my $start;
     #my $tbase = Time::HiRes::time();
     #while ( ($start = Time::HiRes::time()) <= $tbase+1.e-15 ) {} # wait for 
clock tick. See discussion in Benchmark.pm comments
-    my $start = Time::HiRes::time();
+    my $start = clock_gettime(CLOCK_MONOTONIC);
     Dumbbench::Instance::PerlSub::_Lexical::runsub($n, $code);
-    my $end = Time::HiRes::time();
+    my $end = clock_gettime(CLOCK_MONOTONIC);
 
     $duration = $end-$start;
     if ($duration > TOO_SMALL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Dumbbench-0.501/lib/Dumbbench.pm 
new/Dumbbench-0.503/lib/Dumbbench.pm
--- old/Dumbbench-0.501/lib/Dumbbench.pm        2021-02-15 17:40:57.000000000 
+0100
+++ new/Dumbbench-0.503/lib/Dumbbench.pm        2022-04-21 10:48:44.000000000 
+0200
@@ -4,7 +4,7 @@
 use Carp ();
 use Time::HiRes ();
 
-our $VERSION = '0.501';
+our $VERSION = '0.503';
 
 require Dumbbench::Result;
 require Dumbbench::Stats;
@@ -258,7 +258,7 @@
         scalar(@{$instance->timings})-$result->nsamples
       );
       printf(
-        "%sRounded run time per iteration: %s (%.1f%%)\n",
+        "%sRounded run time per iteration (seconds): %s (%.1f%%)\n",
         $name,
         $result_str,
         $sigma/$mean*100
@@ -275,8 +275,7 @@
 
 sub box_plot {
   my $self = shift;
-  eval "require Dumbbench::BoxPlot;";
-  return() if $@;
+  require Dumbbench::BoxPlot;
 
   return Dumbbench::BoxPlot->new($self);
 }
@@ -303,7 +302,7 @@
 
   Ran 23 iterations of the command.
   Rejected 3 samples as outliers.
-  Rounded run time per iteration: 9.519e-01 +/- 3.7e-03 (0.4%)
+  Rounded run time per iteration (seconds): 9.519e-01 +/- 3.7e-03 (0.4%)
 
 As a module:
 
@@ -398,7 +397,9 @@
 
 =head2 box_plot
 
-Returns a L<Dumbbench::BoxPlot> instance.
+Returns a L<Dumbbench::BoxPlot> instance. Note that you need L<SOOT>
+installed to use that module, but this does not require it as a
+prerequisite since it's not a trivial installation.
 
 A L<Dumbbench::BoxPlot> is a nice an easy way to get a graphic chart if
 you're in the mood instead of getting the same results from C<report>.
@@ -406,7 +407,7 @@
 If you don't want to get into the details of L<Dumbbench::BoxPlot>, you can do:
 
   # $bench is your Dumbbench instance
-  $bench->box_plot->show;
+  eval { $bench->box_plot->show };
 
 =head1 HOW IT WORKS AND WHY IT DOESN'T
 

Reply via email to