Re: 1000x slowdown in simple tk prog on Mac OS X 10.10.1 (XQuartz 2.7.7)
Re: 1000x slowdown in simple tk prog on Mac OS X 10.10.1 (XQuartz 2.7.7)
- Subject: Re: 1000x slowdown in simple tk prog on Mac OS X 10.10.1 (XQuartz 2.7.7)
- From: Tom Lane <email@hidden>
- Date: Sat, 29 Nov 2014 22:06:09 -0500
- Comments: In-reply-to Marty Sereno <email@hidden> message dated "Sat, 29 Nov 2014 04:58:13 -0800"
Marty Sereno <email@hidden> writes:
> In XQuartz 2.7.7, running on Mac OS X 10.6.8,
> the following program (source'd in a wish8.5.12
> compiled on 10.6.8) takes about 10 milliseconds to
> finish/display:
> # display 400 buttons
> for {set j 0} {$j < 20} {incr j} {
> frame .f$j
> pack .f$j -side top
> for {set i 0} {$i < 20} {incr i} {
> button .f$j.b$i -text asdf
> pack .f$j.b$i -side left
> }
> }
> On XQuartz 2.7.7 runnng on Mac OS X 10.10.1,
> the same program (whether X11 tcl/tk was
> compiled on 10.6.8 or on 10.10.1) takes
> about 10 sec to display (1000x slowdown).
Hm ... I see a similar delay if I run this as a script file,
but if I copy/paste it into an interactive wish, it seems to be
about a second or so. Which is still a lot, but the context
makes a difference.
Also, I use exmh (a tcl/tk email handler) constantly, and I've not
noticed any particular slowdown in it with Yosemite. So it's not
true that tk is broken completely. You'll probably need to do some
sleuthing ...
regards, tom lane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden