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: "Elwood C. Downey" <email@hidden>
- Date: Sat, 29 Nov 2014 15:22:32 -0700
Works pretty well here:
csiimac: which wish
/opt/local/bin/wish
csiimac: time /usr/bin/wish x.wish
^C0.355u 0.039s 0:02.56 14.8% 0+0k 0+1io 0pf+0w
X11 -> About X11 -> XQuartz 2.7.7 (xorg-server 1.15.2)
Apple -> About this Mac -> OS X Yosemite Version 10.10
> Message: 1
> Date: Sat, 29 Nov 2014 04:58:13 -0800 (PST)
> From: Marty Sereno <email@hidden>
> To: email@hidden
> Subject: 1000x slowdown in simple tk prog on Mac OS X 10.10.1 (XQuartz
> 2.7.7)
> Message-ID: <email@hidden>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>
> hi
>
> I have noticed an extreme slowdown in
> the performance of simple tk widget commands in XQuartz 2.7.7 running on Mac OS X 10.10.1.
>
>
> 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).
> (for comparison, it takes about 60 milliseconds
> for this program to finish in the Apple-supplied wish8.5.9 on Mac OS X 10.10.1).
>
> Ticking Info X11.app "Prevent App Nap" has no
> effect.
>
> There is no change if wish window is moved during
> initial draw.
>
> There is less than 1% CPU usage during the draw.
>
>
> OpenGL performance in a GLX window is acceptable.
>
>
> cheers, marty sereno
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden