Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: way to find module memory usage?

by Discipulus (Canon)
on Jun 06, 2018 at 21:12 UTC ( [id://1216060]=note: print w/replies, xml ) Need Help??


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 (Parson) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1216060]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found