in reply to Re: Timing Compile time, or timing 'use'.
in thread Timing Compile time, or timing 'use'.
When debugging some dynamic loading and fighting UNIVERSAL::require, I found the following very helpful to have at the end of every package:
warn __PACKAGE__ . " loaded\n";
which should be combined with your approach to give the timestamps too.
Another approach might be to load a coderef into @INC that turns around and loads all modules while outputting timing information:
perl -MDevel::TimeLoad myprogram.pl
... but I don't have the time to implement a prototype for that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Timing Compile time, or timing 'use'.
by BrowserUk (Patriarch) on Jan 30, 2007 at 09:51 UTC | |
by diotalevi (Canon) on Jan 30, 2007 at 16:28 UTC |