[issue7753] newgil backport

Ross Cohen report at bugs.python.org
Fri Jan 22 02:40:58 CET 2010


New submission from Ross Cohen <rcohen at snurgle.org>:

This is a backport of the newgil work to the 2.7 branch (otherwise known as trunk.) Patch is against r77678.

Created by diffing r76193 (last in the newgil branch)
against r76189 and applying the result. Generally applied cleanly and it looked as though only 1 reject needed to be massaged in. Passes all tests except for test_command, but the unpatched source also fails that test on my machine.

Perf numbers for linux on Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Using benchmark from here:
http://www.mail-archive.com/python-dev@python.org/msg43407.html
-j0
2.7   : 14.93s, 15.71s, 15.03s
newgil: 15.32s, 15.45s, 15.78s

-j4
2.7   : 22.44s, 22.30s, 22.19s
newgil: 18.75s, 18.80s, 18.79s

----------
components: Interpreter Core
files: newgil-2.7.diff
keywords: patch
messages: 98122
nosy: rcohen
severity: normal
status: open
title: newgil backport
type: performance
versions: Python 2.7
Added file: http://bugs.python.org/file15967/newgil-2.7.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7753>
_______________________________________


More information about the Python-bugs-list mailing list