Subject: | Provide a way to disable the progress counters |
From: Abigail <abigail@abigail.nl>
Subject: Re: Test::Harness & _print_ml()
On Sun, Feb 09, 2003 at 12:15:55AM +0100, Abigail wrote:
Test::Harness has the habit to print a string to the screen for
each test you run - the _print_ml("ok $curr/$max") line in the
anon sub assigned to $Handlers{test}. It's this line that's
responsible for the 'nnn/NNN' counter to show.
It doesn't seem a lot, but it does add up if you have 180k+ tests.
The test suite for Regexp::Common 2.107 takes about 155 wallclock
seconds to run on my computer. If I outcomment the call to _print_ml,
the time to run drops to about 125 seconds, which isn't insignificant.
Can we have a way to disable this progress report, short of modifying
the code?