Python-3.13 is more than 100% slower with –disable-gil
8 points| rbenchmark | 1 year ago
Benchmark:
sum = 0.0
def f():
global sum
for i in range(10000):
for j in range(10000):
sum += i*j
return sum
print(f())
Build A: ./configure --enable-gil: 8 secondsBuild B: ./configure --disable-gil: 20 seconds
rbanffy|1 year ago
lambdaone|1 year ago
lakrman|1 year ago
As an added bonus, the stock Debian Python 3.7 is faster than both versions.
So the alleged "faster python" promises are not kept, and neither are the "at most 15% slowdown" promises for the no-gil project.