Message390224
I have forked my TerraLunar graphics program to make a simpler more portable version, called "TerraLunar-tkbench.py" to facilitate testing of the tkinter stack for graphics performance. The project folder is at:
https://github.com/ThomasWamm/TerraLunar-tkbench.git
The folder includes results and commentary from running the program on numerous platforms (MacOS, Windows10, Raspberry OS Linux) and Python versions.
Here are the most interesting summary results:
------------------------------------------------------------------------
Apple M1 Mac Mini MacOS 11.2.3 (arm64 Apple Silicon, or Rosetta2 x86_64)
Python 3.8.2 Tcl/Tk 8.5.9 TerraLunar-tkbench 0.1.8 runtime = 37 (arm64)
Python 3.8.7 Tcl/Tk 8.6.8 TerraLunar-tkbench 0.1.8 runtime = 69 (x86_64)
Python 3.9.2 Tcl/Tk 8.6.8 TerraLunar-tkbench 0.1.8 runtime = 69 (x86_64)
* Python 3.10.0a6 Tcl/Tk 8.6.11 TerraLunar-tkbench 0.1.8 runtime = 421 (arm64) *
* Why is Tcl/Tk 8.6.11 on arm64 so slow?
old iMac24-2007 MacOS 10.11.6 on 2.4 GHz Intel Core 2 Duo (x86_64)
Python 3.7.3 Tcl/Tk 8.6.8 TerraLunar-tkbench 0.1.8 runtime = 381
Python 3.8.2 Tcl/Tk 8.6.8 TerraLunar-tkbench 0.1.8 runtime = 377
Python 3.9.2 Tcl/Tk 8.6.8 TerraLunar-tkbench 0.1.8 runtime = 379
* Python 3.10.0a6 Tcl/Tk 8.6.11 TerraLunar-tkbench 0.1.8 runtime = 292 *
* this is faster than the M1 Mac, differing in silicon and MacOS version.
Dell laptop Windows10 i5-8250U >= 1.6 GHz quad-core x86_64
Python 3.9.2 Tcl/Tk 8.6.9 TerraLunar-tkbench 0.1.8 runtime = 7
Python 3.10.0a6 Tcl/Tk 8.6.10 TerraLunar-tkbench 0.1.8 runtime = 7
# Windows10 seems to be the best environment for tkinter.py / Tcl / Tk graphics apps.
----------------------------------------------------------------------
Every Mac platform is sadly much slower than a comparable Windows platform, for tkinter graphics. But the new M1 Mac platform is the slowest by far, slower than even a much older Intel Mac running the same versions of Python 3.10.0a6 and Tk 8.6.11
That's enough involvement for this noobie; I've now learned how complicated this performance issue is. It's not on my critical path, so I'm going back to my regular project far removed from tkinter graphics. Good Luck folks!
...thomas |
|
Date |
User |
Action |
Args |
2021-04-05 04:59:27 | thomaswamm | set | recipients:
+ thomaswamm, ronaldoussoren, ned.deily, serhiy.storchaka, chrstphrchvz, epaine |
2021-04-05 04:59:27 | thomaswamm | set | messageid: <1617598767.68.0.0554075182437.issue43511@roundup.psfhosted.org> |
2021-04-05 04:59:27 | thomaswamm | link | issue43511 messages |
2021-04-05 04:59:26 | thomaswamm | create | |
|