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

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

----------

_______________________________________
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