Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Finding memory usage of perl structure efficiently

by dpavlin (Friar)
on Jun 26, 2010 at 15:32 UTC ( [id://846678]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                 Rate total_size   storable
    total_size 4.04/s         --       -70%
    storable   13.5/s       234%         --
    
  2. or download this
    use Benchmark qw(:all);
    
    ...
            'total_size' => sub { Devel::Size::total_size( $hash ) },
            'storable'   => sub { _storable_size( $hash ) },
    });
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://846678]
Approved by toolic
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found