[Patches] [ python-Patches-920509 ] Patch to enable profiling of C functions called from python

SourceForge.net noreply at sourceforge.net
Sun Mar 21 10:25:00 EST 2004


Patches item #920509, was opened at 2004-03-21 10:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=920509&group_id=5470

Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Bastin (mondragon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch to enable profiling of C functions called from python

Initial Comment:
This patch enables the profiling of C extension functions (and 
builtins) called via the CALL_FUNCTION opcode.  This also includes 
a modification to lib/profile.py to handle the new call type.  On my 
Powerbook 12" 867Mhz it incurs a 0.5% performance hit in the 
interpreter when profiling is not enabled.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=920509&group_id=5470



More information about the Patches mailing list