how to profile my code??
- by kaki
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..