Python profiler

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Celine & Dave

    #1

    Python profiler

    Hello All,

    I am trying to find a profiler that can measure the
    memory usage in a Python program. I would like to
    gather some statistics about object usages. For
    example, I would like to be able to see how much time
    it takes to search for an item in a dict object, how
    many times it has to access the symbol table to
    retrieve a specific item, and things like that.

    Thanks,

    Dave



    _______________ _______________ ____
    Yahoo! Mail - PC Magazine Editors' Choice 2005
    Yahoo Mail: Your smarter, faster, free email solution. Organize your inbox, protect your privacy, and tackle tasks efficiently with AI-powered features and robust security tools.

  • Stephen Kellett

    #2
    Re: Python profiler

    In message <mailman.1302.1 128117004.509.p ython-list@python.org >, Celine
    & Dave <zhu_dave@yahoo .com> writes[color=blue]
    >I am trying to find a profiler that can measure the
    >memory usage in a Python program.
    >I would like to
    >gather some statistics about object usages. For[/color]

    Python Memory Validator.
    Apply for beta here:


    [color=blue]
    >example, I would like to be able to see how much time
    >it takes to search for an item in a dict object,[/color]

    That is something for a performance profiler, not a memory profiler.
    Python Performance Validator will help you there.
    [color=blue]
    >how
    >many times it has to access the symbol table to
    >retrieve a specific item, and things like that.[/color]

    Python Coverage Validator will help you there.
    Python Performance Validator will help you there.

    Software tools for code coverage, memory leak detection, performance profiling, deadlock detection, execution tracing. C++, C, C#, VB6, Delphi


    Windows NT/2000/XP/and above(vista, etc)

    Stephen
    --
    Stephen Kellett
    Object Media Limited http://www.objmedia.demon.co.uk/software.html
    Computer Consultancy, Software Development
    Windows C++, Java, Assembler, Performance Analysis, Troubleshooting

    Comment

    • Peter Tillotson

      #3
      Re: Python profiler

      look in the gc module ...

      Celine & Dave wrote:[color=blue]
      > Hello All,
      >
      > I am trying to find a profiler that can measure the
      > memory usage in a Python program. I would like to
      > gather some statistics about object usages. For
      > example, I would like to be able to see how much time
      > it takes to search for an item in a dict object, how
      > many times it has to access the symbol table to
      > retrieve a specific item, and things like that.
      >
      > Thanks,
      >
      > Dave
      >
      >
      >
      > _______________ _______________ ____
      > Yahoo! Mail - PC Magazine Editors' Choice 2005
      > http://mail.yahoo.com[/color]

      Comment

      Working...