test suite should test for use of unwanted modules

RESOLVED WONTFIX

Status

()

Bugzilla
Testing Suite
--
enhancement
RESOLVED WONTFIX
16 years ago
10 years ago

People

(Reporter: bbaetz, Unassigned)

Tracking

({perf})

2.17.1
x86
Linux

Details

(Reporter)

Description

16 years ago
Some modules are slow to start up, and so should be avoided, or required rather
than used.

|use diagnotistics| is out - it parses perldiag.pod on startup!
|use Data::Dumper| is out - it should be required instead where its needed

Tehre are a couple more which should be avoided (eg File::Temp), but people
aren't liklt to be using those in general code

time perl -e 'use Foo;'

is a good test, from teh second run at least.
(Reporter)

Comment 1

16 years ago
is a good test for modules which are slow and should be added to the list, I meant.

I don't suggest doing that in the test suite ;)
Keywords: perf

Updated

12 years ago
QA Contact: mattyt-bugzilla → default-qa

Updated

10 years ago
Assignee: zach → testing

Comment 2

10 years ago
I doubt that's something we are going to implement.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.