- Original Message -
> From: CL Talk
> To: Danny Yoo
> Cc: Python Tutor Mailing List
> Sent: Saturday, January 17, 2015 4:04 AM
> Subject: Re: [Tutor] Timing a python program
>
>T hanks to all the responses. I have started looking at the
> documentation and
Thanks to all the responses. I have started looking at the
documentation and will be implementing it. Thanks for the direction.
I only have megabytes of data files. I think that the program can be
optimized and am hoping that with the profiler I will be able to get
some insight.
Thanks again.
On
On Thu, Jan 15, 2015 at 9:02 PM, CL Talk wrote:
> Hello - I have a python program that reads data from data files and
> does manipulation on the data and writes back to output files. I am
> developing this program on a macbook with python 2.7.6.
>
> This program takes close to 10 minutes on my mac
On Fri, Jan 16, 2015 7:34 PM CET Alan Gauld wrote:
>On 16/01/15 09:20, Mark Lawrence wrote:
>
>> https://docs.python.org/2/library/profile.html
>>
>> For non Luddites https://docs.python.org/3/library/profile.html :)
>
>
>Yeah, but the OP said it was for 2.7.6 on a Ma
On 16/01/15 09:20, Mark Lawrence wrote:
https://docs.python.org/2/library/profile.html
For non Luddites https://docs.python.org/3/library/profile.html :)
Yeah, but the OP said it was for 2.7.6 on a Mac...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www
On 16/01/2015 08:52, Alan Gauld wrote:
On 16/01/15 05:02, CL Talk wrote:
I am trying to see how I can time the whole program as well as various
functions that are part of the program.
That's called profiling and there is a Python profiler.
Here's the official doc page
https://docs.python.o
On 16/01/15 05:02, CL Talk wrote:
I am trying to see how I can time the whole program as well as various
functions that are part of the program.
That's called profiling and there is a Python profiler.
Here's the official doc page
https://docs.python.org/2/library/profile.html
And here's th
CL Talk writes:
> I am trying to see how I can time the whole program as well as various
> functions that are part of the program.
The term for this dynamic timing introspection of parts of the system is
“program profiling”; you are seeking a “profiler”
https://en.wikipedia.org/wiki/Profiling_%2
Hello - I have a python program that reads data from data files and
does manipulation on the data and writes back to output files. I am
developing this program on a macbook with python 2.7.6.
This program takes close to 10 minutes on my machine to run. But, the
issue is that it is not take the sam