Sections
Timeline
Browse Source
New Ticket
Sub-Sections
Download
Comma-delimited Text
Tab-delimited Text
RSS Feed
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Ticket #20 (new enhancement)

Opened 3 months ago

Speed up trace by a lot

Reported by: kurgan@… Owned by: gak
Priority: major Component: general
Version: Keywords:
Cc:

Description

If you replace all sys.settrace(tracer) calls with sys.setprofile(tracer) and ignore the first return event in the tracer. Running a script will be dramatically faster.

(setprofile only logs call and return events, where settrace will also call the tracer function for each line that is interpreted)

You might also want to react on c_call and c_return events (logging extension modules)

Attachments

Add/Change #20 (Speed up trace by a lot)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.