[Numpy-discussion] Profiling with cProfile

Simon Palmer simon.palmer at gmail.com
Mon Feb 9 16:35:41 EST 2009


Hi,
I am trying to profile a bit of code I have written using cProfile.  When I
run it I get the message:

TypeError: unhashable type: 'numpy.ndarray'

I am using runctx with some local variables which are ndarrays.

I am guessing that this is a lmitation of either cProfile or numpy or the
mix of the two.  What is the recommended approach for profiling my code
containing ndarrays?

-- 
View this message in context: http://www.nabble.com/Profiling-with-cProfile-tp21922525p21922525.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.




More information about the NumPy-Discussion mailing list