Help regarding python run time

2015-05-20 Thread AKHIL RANA
Hi, I am student at IIT Kanpur and working on a Opencv based Python project. I am working on program development which takes less time to execute. For that i have tested my small program hello word on python to now the time taken by this program. I had run many time. and every time it run it

Re: Help regarding python run time

2015-05-20 Thread Ian Kelly
On Wed, May 20, 2015 at 7:02 AM, AKHIL RANA akh...@iitk.ac.in wrote: Hi, I am student at IIT Kanpur and working on a Opencv based Python project. I am working on program development which takes less time to execute. For that i have tested my small program hello word on python to now the time

Re: Help regarding python run time

2015-05-20 Thread Irmen de Jong
On 20-5-2015 17:23, Ian Kelly wrote: On Wed, May 20, 2015 at 7:02 AM, AKHIL RANA akh...@iitk.ac.in wrote: Hi, I am student at IIT Kanpur and working on a Opencv based Python project. I am working on program development which takes less time to execute. For that i have tested my small program

Re: Help regarding python run time

2015-05-20 Thread Ian Kelly
On Wed, May 20, 2015 at 9:48 AM, Irmen de Jong irmen.nos...@xs4all.nl wrote: Or measure the actual CPU clock cycles taken instead of the wall clock run time. Then you should get a fairly constant number, if the program does the same work every time you run it. phobos:~ irmen$ time python