Issue1281

classification
Title: profile module doesn't profile Java builtin functions
Type: behaviour Severity: minor
Components: Documentation Versions:
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, pjenvey
Priority: low Keywords:

Created on 2009-03-21.22:27:33 by pjenvey, last changed 2013-02-27.17:32:53 by fwierzbicki.

Messages
msg4323 (view) Author: Philip Jenvey (pjenvey) Date: 2009-03-21.22:27:32
In Python 2.4 the interpreter/profile module were changed to allow 
profiling of C function calls:

http://svn.python.org/view?view=rev&revision=35570

We don't do this. We'd have to add hooks into probably 
PyBuiltin{Function,Method}Narrow, like the trace/profile hooks in 
PyTableCode. That might affect performance because we'd need to look at 
the ThreadState everytime to see if tracing was enabled

This is low priority since we have better profiling tools on the JVM.

test_profile's output has been tweaked to reflect the lack of this 
feature. We might never support this, in that case we'll just keep this 
open until we clearly document that fact (we really need to revive that 
old CPython vs Jython differences doc).
History
Date User Action Args
2013-02-27 17:32:53fwierzbickisetcomponents: + Documentation, - Core
2009-05-12 18:59:13fwierzbickisetnosy: + fwierzbicki
2009-03-21 22:27:33pjenveycreate