Thomas Wamm <thomasw...@gmail.com> added the comment:

Summary: "poor tkinter performance correlates with failed self-tests"

I'm an amateur hobbyist noobie programmer, so sophisticated testing is a 
challenge for me.  I raised this issue because I noticed Python graphics thru 
tkinter is especially slow on MacOS, and especially ultra-slow on my new M1 Mac 
Mini with Python 3.9.2 or 3.10.0a6 for Apple silicon. Aside from this weird 
issue, the M1 Mac outperforms all my other computers (including Win10 on 
i5-9500T, and Raspberry Pi 400). I'm expecting at least 10x performance 
improvement on M1 Macs when this issue gets resolved. 

Anyway, I looked under the hood.  I found some tkinter test programs runnable 
on MacOS with: 

/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/test/runtktests.py

The same program is buried in the Windows Python modules library, but was not 
findable in Python 3.7.3 for Linux on Raspberry Pi.

So I ran runtktests.py on Windows 10 and MacOS in many configurations. All was 
good EXCEPT Python 3.9.2 and 3.10.0a6 on old MacOS 10.11.6 and new MacOS 
11.2.3.  Those configs report about 10 Failed tests in a suite of over 1000 
tests, and interestingly the 3.9 and 3.10 tests run about 4x slower than the 
older Python 3.8 tests that reported zero failures.

So poor tkinter performance on MacOS correlates with failed tkinter self-tests. 
Maybe a more expert person could dig deeper?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to