Python profiler usage with objects
rik
rbelew at ucsd.edu
Wed Jun 30 03:09:33 EDT 2010
Ben Kaplan <bsk16 <at> case.edu> writes:
> There's nothing special about profile.run- you have to hand it something to
> execute, not something already executed. Try calling
> Profile.run(doSomething) # no parenthesis for doSomething.
your hint and REREADING THE DOCUMENTATION made me realize it
was the QUOTE MARKS on the function call i was missing:
profile.run('main(seedFile)','profileOutFile')
Harit, perhaps this was your problem, too?
Ben, thanks for your help.
More information about the Python-list
mailing list