4 ms·
The last numbers I saw put the performance penalty of no-GIL at under 10%, so both are still on the table since Python has a lot of single-threaded performance
by Jtsummers 3y ago
The last numbers I saw put the performance penalty of no-GIL at under 10%, so both are still on the table since Python has a lot of single-threaded performance left to recover. You can get both a much faster-than-current Python in single-threaded and real threads.
- alfalfasprout 3y agoYep and when the faster cpython team gets to implementing advanced JITing (which GVR has said is planned) that'll be huge.
- slashdev 3y agoObviously you can recover it, but they will Be a performance hit. Single threaded without GIL will always be slower than with it. I’ll be surprised if they can keep it to only 10%. It will depend on the workload and there will Be some pathological cases.