[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2018-04-29 Thread Michael Romero

Michael Romero  added the comment:

So is this now considered resolved for High Sierra users via 2.7.15rc1?

--
nosy: +Michael Romero

___
Python tracker 
<https://bugs.python.org/issue32616>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-14 Thread Michael Romero

New submission from Michael Romero :

Hello, 

I have recently been working with a PAC-MAN project developed by Berkeley for 
their A.I. course.  My primary workstation is a Touchbar MBP (3.1ghz core i7 
w/16gb RAM and an SSD).  I had noticed how PAC-MAN's performance would sort 
of... stutter, when running on my Mac, while performing incredibly quick on a 
nearby gaming computer.  I had previously believed it to be due to the 
differences in specs between systems.  This is not the case, however, as the 
performance of PAC-MAN is extremely quick even within a VM ran via Parallels on 
the same Macbook whose native python performance was extremely sluggish.

I have seen recent issues submitted here and supposedly resolved that are 
intended to address a performance issue with Tkinter and Mac OS/X.  While the 
underlying issue mentioned in those particular tickets may have been addressed, 
the overall performance difference between Mac and Windows (and perhaps others) 
with Tkinter on Mac has not been. 

The following URL includes the PAC-MAN implementation I'm referring to:
http://ai.berkeley.edu/project_log.html

The link above contains another link to download the "multiagent.zip".
https://s3-us-west-2.amazonaws.com/cs188websitecontent/projects/release/multiagent/v1/002/multiagent.zip

After extraction, running "python pacman.py" with a system running the most 
recent 2.7.15 64bit release (on a fully patched OS/X) will allow you to see the 
sluggish performance of PAC-MAN I'm describing when compared to the same exact 
codebase running on a Windows system (and perhaps linux, though I have not yet 
tried to run it there), on a Windows VM living on the same system.

--
components: Tkinter
messages: 316520
nosy: Michael Romero
priority: normal
severity: normal
status: open
title: Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows
versions: Python 2.7

___
Python tracker 
<https://bugs.python.org/issue33500>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-14 Thread Michael Romero

Michael Romero  added the comment:

"search.zip" on http://ai.berkeley.edu/project_log.html will also display the 
same performance issue.

--
Added file: https://bugs.python.org/file47587/search.zip

___
Python tracker 
<https://bugs.python.org/issue33500>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-14 Thread Michael Romero

Change by Michael Romero :


--
type:  -> performance

___
Python tracker 
<https://bugs.python.org/issue33500>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero


Michael Romero  added the comment:

I don't have a minimal failing example as is being requested. What I do have is 
the smallest version of the code published by Berkeley's AI course that I could 
find that allows easy demonstration of the issue.  "python pacman.py" is enough 
to demonstrate the latency difference between the MacOS and Windows versions of 
Python. 

The specific calls causing the program to run slowly on MacOS I leave to this 
team to determine / resolve.

--

___
Python tracker 
<https://bugs.python.org/issue33500>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero


Michael Romero  added the comment:

* What version of macOS are you using? "Is fully patched" the latest High 
Sierra?
- I've tried the version bundled with MacOS fully patched high sierra, as well 
as versions downloaded from python.org, Intel, and ActiveState.  They all 
demonstrate the slowness.

* Which variant of the Python 2.7.15 installer did you use? 
- I used the 64-bit only installer from python.org during one test.  However, 
all versions I've tried on MacOS seem to demonstrate the issue.

* Did you install ActiveState Tcl/Tk (check if there is a Tk.framework
  in /Library/Frameworks)? If so, which version?
- I used the bundled version of ActiveState Tcl/Tk that came with the 64-bit 
only installer. I have also experimented with alternate versions of python that 
use a Tcl/Tk externally.  "8.5" is the version I see on my system now.

--

___
Python tracker 
<https://bugs.python.org/issue33500>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com