Message 99815 - Python tracker (original) (raw)

And here is an experimental patch which enables the "priority requests" mechanism which was in the original new GIL patch. "Experimental" because it only enables them on a couple of socket methods (enough to affect the benchmarks).

Here are the UDP benchmark results (with 2 background threads):

And here's patched py3k with 8 background threads: 3.058 seconds (3429136.193 bytes/sec)

(benchmarks run on a 8-core Linux machine)