On Thu, Jan 21, 2010 at 12:27 PM, Jake McGuire <mcgu...@google.com> wrote:
> On Wed, Jan 20, 2010 at 2:27 PM, Collin Winter <collinwin...@google.com> 
> wrote:
>> Profiling
>> ---------
>>
>> Unladen Swallow integrates with oProfile 0.9.4 and newer [#oprofile]_ to 
>> support
>> assembly-level profiling on Linux systems. This means that oProfile will
>> correctly symbolize JIT-compiled functions in its reports.
>
> Do the current python profiling tools (profile/cProfile/pstats) still
> work with Unladen Swallow?

Sort of.  They disable the use of JITed code, so they don't quite work
the way you would want them to.  Checking tstate->c_tracefunc every
line generated too much code.  They still give you a rough idea of
where your application hotspots are, though, which I think is
acceptable.

oprofile is useful for figuring out if more time is being spent in
JITed code or with interpreter overhead.

Reid
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to