I was wondering about this while working on profiling my program using the profile module.
Say we have the following:
@dec
def func:
blah blah blah
When profiling the whole program, what would the total time for func represent? The time spent just in the original function or the time spent spent in the function along with the execution of the decorator's code?
Thanks
-- http://mail.python.org/mailman/listinfo/python-list