in reply to way to find module memory usage?

Hello perl-diddler,

very intresting question.. I bet with no answer ;=) Have you already looked if Devel::Size can be handy in your case? See also Memory Profiling even if is an old thread.

Also Memchmark is very old but it seems it is still passing tests on 5.28 so..

Good luck and share your findings!

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: way to find module memory usage?
by swl (Prior) on Jun 06, 2018 at 21:35 UTC

    Devel::MAT is also worth a look.

    Edit: Although I don't think it will measure the code footprint, so is probably not what you're after.

Re^2: way to find module memory usage?
by perl-diddler (Chaplain) on Jun 06, 2018 at 21:39 UTC
    Yeah, Devel::Size and Devel::SizeMe were first I ran into ... but only work for data/vars.