Function Memory Usage

Discussion in 'Python' started by Paulo J. Matos, Oct 31, 2008.

  1. Hi all,

    What's the best way to know the amount of memory allocated by a
    function and the time it took to run? While the latter is simple to
    implement using a wrapper function, the former is striking me as
    something that needs to be primitive to python. Any tips?

    Cheers,

    --
    Paulo Jorge Matos - pocmatos at gmail.com
    Webpage: http://www.personal.soton.ac.uk/pocm
     
    Paulo J. Matos, Oct 31, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. metfan
    Replies:
    2
    Views:
    4,873
    Robert Olofsson
    Oct 21, 2003
  2. hvt
    Replies:
    0
    Views:
    1,229
  3. hvt
    Replies:
    0
    Views:
    1,513
  4. Krist
    Replies:
    8
    Views:
    6,747
    Arne Vajhøj
    Feb 10, 2010
  5. MrsEntity
    Replies:
    20
    Views:
    499
Loading...

Share This Page