-----BEGIN PGP SIGNED MESSAGE-----

Moin,

just did a memory benchmark with bleadperl:

(Including vars, because that gives us strict, vars, and warnings as a 
baseline):

# ./perl -Ilib -Mvars -le 'print join ("\n", sort keys %INC); sleep (100)'
strict.pm
vars.pm
warnings.pm
warnings/register.pm

Top says:

 1845 te        17   0  4272 1648 1316 S  0.0  0.2   0:00.00 perl

Now lets include Carp:

# ./perl -Ilib -Mvars -MCarp -le 'print join ("\n", sort keys %INC); sleep 
(100)'

 1955 te        18   0  4404 1736 1344 S  0.0  0.2   0:00.00 perl

And then Carp::Heavy, too:

# ./perl -Ilib -Mvars -MCarp -MCarp::Heavy -le 'print join ("\n", sort 
keys %INC); sleep (100)'

 2765 te        17   0  4404 1792 1348 S  0.0  0.2   0:00.01 perl

Am I doing something wrong, or does loading Carp::Heavy not havy any 
dramatic memory effect? Or in other words, does not loading Carp::Heavy 
not have a big effect as not loading Carp at all? (tripple negatives are 
fun :)

Best wishes,

Tels

- -- 
 Signed on Sun Jun 26 13:54:18 2005 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Given enough time, all legal battles in the tech industry will invoke
 the DMCA. This generally means that all constructive arguments have
 ended." NialScorva's law

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQr6YcncLPEOTuEwVAQH3bQf9GVdhzgkMf+K9CE8wbwfdl+rOPfvb5MtY
9sJ5AaAP8oNbIwkxTzK97neOxUgffDs08CwxCTxLNUox2ZIxRvQEm6n1Ep2/yaR1
7tax8n3A6W91ubTZkrle08qaTtx1pSr/hEmnzQLNCQ71P68NFh1SeO+OCPLt+oCK
IHH6bXnTgi3M7NPr9CR64lt0YDIW+7Fj/g/LzECrMNmq+AgKyd4QkrE2k3Xdg49A
Fonw/Ie5t9CO99IpjTW4xhEtiUTTftKvTwKxuCNRVCpriguBbZU5qHgfAwcup7sD
HIaXNU0GiJY8Wtj6nl39mCEn5fBcmjFd1DoB5kMflkP7m9MJeBo9hw==
=BOgX
-----END PGP SIGNATURE-----

Reply via email to