[New-bugs-announce] [issue28006] Remove tracing overhead from the fine-grained fast opcodes

Raymond Hettinger report at bugs.python.org
Wed Sep 7 14:54:52 EDT 2016

New submission from Raymond Hettinger:

The fast opcodes are ones where we bypass signal/event checking, but they still have the overhead of checking for tracing enabled (this doesn't seem like much, it adds a memory access and can take almost half the time for some of these already quick opcodes).

I haven't seen an effect on the upstream line level tracing but this needs a second look to be sure there isn't an unanticipated consequence.

assignee: steve.dower
components: Interpreter Core
files: trace.diff
keywords: patch
messages: 274867
nosy: rhettinger, steve.dower
priority: normal
severity: normal
stage: patch review
status: open
title: Remove tracing overhead from the fine-grained fast opcodes
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file44447/trace.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list