Re: python profiling, hotspot and strange execution time

2005-09-08 Thread bdrosen96
I was unhappy with both hotshot and the standard python profiler, so I wrote my own, which may be what you are looking for. I've submitted it as a patch at: http://sourceforge.net/tracker/index.php?func=detail&aid=1212837&group_id=5470&atid=305470 It should add a minimum of overhead, give real nu

Re: python profiling, hotspot and strange execution time

2005-09-08 Thread Jeremy Jones
[EMAIL PROTECTED] wrote: >I am not sure to understand the big difference between "time spent in >different areas of code" and "how long did this thing take to run?". >Looking at python doc for deterministic profiling, I understand the >implementation difference, and the performance implications,

Re: python profiling, hotspot and strange execution time

2005-09-08 Thread cournape
> OK - first of all, as someone else has asked, what platform are you > running? I'm assuming it's windows since you're referring to > time.clock() and then later saying "wall clock". Actually, no. I am working on a x86 linux (HT disabled for this testing, as I thought it may introduce some sub

Re: python profiling, hotspot and strange execution time

2005-09-06 Thread Jeremy Jones
[EMAIL PROTECTED] wrote: >Hi there, > > I have some scientific application written in python. There is a >good deal of list processing, but also some "simple" computation such >as basic linear algebra involved. I would like to speed things up >implementing some of the functions in C. So I need p

Re: python profiling, hotspot and strange execution time

2005-09-06 Thread Stephen Kellett
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes >Hi there, > > I have some scientific application written in python. There is a >good deal of list processing, but also some "simple" computation such >as basic linear algebra involved. I would like to speed things up >implementing some of

Re: python profiling, hotspot and strange execution time

2005-09-06 Thread Paul Rubin
[EMAIL PROTECTED] writes: >I have some scientific application written in python. There is a > good deal of list processing, but also some "simple" computation such > as basic linear algebra involved. I would like to speed things up > implementing some of the functions in C. So I need profiling.

python profiling, hotspot and strange execution time

2005-09-06 Thread cournape
Hi there, I have some scientific application written in python. There is a good deal of list processing, but also some "simple" computation such as basic linear algebra involved. I would like to speed things up implementing some of the functions in C. So I need profiling. I first tried to u