in reply to Timing a Module Load

A technique which nobody has mentioned above is simply comparing against a control group. Time a few thousand iterations loading the module,
% for e in `seq 1000` ; do perl -Mmymodule -e1 ; done
Then time a few thousand iterations of not loading the module.
% for e in `seq 1000` ; do perl -e1 ; done
Subtract the control group timing from the target group timing. What difference do you find?

--
[ e d @ h a l l e y . c c ]