Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

memory usage of modules

by shmem (Chancellor)
on Nov 23, 2009 at 16:03 UTC ( [id://808839]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MemImpact;
    use vars qw($before $after $now);
    ...
    }
    END { printf "%-40s % 10d kB\n", "total impact:" , $after - $before; }
    1;
    
  2. or download this
    perl -MMemImpact=Moose,MooseX::AttributeHelpers -e 1
    
  3. or download this
    #!/usr/bin/perl
    use MemImpact qw(Moose);
    use MemImpact qw(MooseX::AttributeHelpers);
    
  4. or download this
    initial memory:                                7576 kB
    after loading Moose:                          13408 kB
    ...
    after loading MooseX::AttributeHelpers:       14848 kB
    impact of MooseX::AttributeHelpers:            1440 kB
    total impact:                                  7272 kB
    

Log In?
Username:
Password:

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

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

    No recent polls found