how to profile my code??
Posted
by kaki
on Stack Overflow
See other posts from Stack Overflow
or by kaki
Published on 2010-06-15T13:27:07Z
Indexed on
2010/06/18
6:43 UTC
Read the original article
Hit count: 344
python
i want to how to profile my code... i have gone through the docs , but as there were no example codes given i could not get anything from it. i have a large code and it is taking so much time hence want to profile and increase its speed. i havent written my code in method , there are few in between but not completely. i dont have any main in my code..i want to know how to use profiling.. looking for some example or sample code of about how to profile..
i tried psyco i.e just addded two line at the top of my code import psyco psyco.full() is this write,it did not show any improvement. and other way of speeding up ,please suggest. thanks in advance..
© Stack Overflow or respective owner