This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thomaswamm
Recipients epaine, ned.deily, ronaldoussoren, serhiy.storchaka, thomaswamm
Date 2021-03-23.10:53:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616496826.67.0.898566221856.issue43511@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2021-03-23 10:53:46thomaswammsetrecipients: + thomaswamm, ronaldoussoren, ned.deily, serhiy.storchaka, epaine
2021-03-23 10:53:46thomaswammsetmessageid: <1616496826.67.0.898566221856.issue43511@roundup.psfhosted.org>
2021-03-23 10:53:46thomaswammlinkissue43511 messages
2021-03-23 10:53:45thomaswammcreate