Branch: refs/heads/yves/benchmark_times_sanity_check
Home: https://github.com/Perl/perl5
Commit: 42aa2d9c2035ea7f7c603fb903d85b67b8a487b0
https://github.com/Perl/perl5/commit/42aa2d9c2035ea7f7c603fb903d85b67b8a487b0
Author: Yves Orton <[email protected]>
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
M lib/Benchmark.t
Log Message:
-----------
Benchmark.t - sanity check for a broken times()
If time() or times() is broken then Benchmark can infinite loop.
This adds a sanity check that will die early if it appears that
either are broken.
This fixes the infinite loop part of GH Issue #20839