Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 2060
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: abigail [...] abigail.nl
andy [...] petdance.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Provide a way to disable the progress counters
Download (untitled) / with headers
text/plain 725b
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?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.