PATCH: lsprof.py RuntimeError

Alejandro Santos alejolp at alejolp.com
Thu Jul 30 00:23:37 CDT 2009


On Wed, Jul 29, 2009 at 6:41 PM, Matt Mackall<mpm at selenic.com> wrote:
> On Wed, 2009-07-29 at 18:20 -0300, Alejandro Santos wrote:
>>
>> Let's assume that module a imports b, b imports c and c imports d.
>>
>> If module b or c are loaded lazily or on demand, the profiler will
>> have no knowledge about the last module d.
>
> Obviously. But if that's the case, that also means that none of the code
> in d was ever executed. So again, why does the profiler care?

You are right. It doesn't.

I apologize for the noise.

-- 
Alejandro Santos,
alejolp at alejolp.com.ar
http://www.alejolp.com.ar


More information about the Mercurial-devel mailing list