[issue36408] Tkinter multi-processing performance, Linux 10-25 times faster than Windows 10

J.E.McCormack report at bugs.python.org
Tue Mar 26 06:57:58 EDT 2019


J.E.McCormack <jamesisub at gmail.com> added the comment:

Attached is a minimal reproducer script which is sufficient to show the issue clearly.
	
It is a simple single-thread Tkinter program with one canvas. No multiprocessing, no shared variables, no connections between instances. Instructions at top of file.
	
Results on i7-6700HQ, 4-core (8 thread), 2.60GHz, 16GB, Windows 10:-
    
    1 process running alone:             29k objects/sec
    6 processes running concurrently:    4.3k objects/sec each, = 25.8k objects/sec combined.

Conclusion: One-core performance, global system-wide lock.

----------
Added file: https://bugs.python.org/file48232/mosaic.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36408>
_______________________________________


More information about the Python-bugs-list mailing list