Question about profiling

Skip Montanaro skip at pobox.com
Mon Jun 25 00:21:44 EDT 2001


    TW> When I profile my code I get a lot of
    TW> <string>:1(?)
    TW> that takes up alot of time. What does that mean?

    Patricia> Are you doing exec on a string somewhere?  I see tracebacks
    Patricia> with <string> when I have a error in a string that I exec.

I must have missed the original question.  I believe this is due to calling

    profile.run("...")

where "..." is the call that is to be profiled.

-- 
Skip Montanaro (skip at pobox.com)
(847)971-7098




More information about the Python-list mailing list