Hello Jeremy,
Thanks for the suggestion, I've tried using sysdiagnose and on both system 
(10.9 and 10.10) the "CPU Time" for the application is the same (approx. 
1second) and also it's the same for X11.bin (500ms) and WindowServer 
(500ms).But visually it takes 4 seconds to display, how should I discover where 
this time is spent exactly ?

Anyway below you'll find some parts of the output of spindump, these calls 
(sorted with -heavy argument, the default) appears at the topfor my application 
:
     .........
                  16   Redisplay + 2309 (libXm.4.0.2.dylib + 220208) [0x2141c30]
                    16   XmStringDraw + 122 (libXm.4.0.2.dylib + 712636) 
[0x21b9fbc]
                      16   _draw + 225 (libXm.4.0.2.dylib + 712221) [0x21b9e1d]
                        16   _render + 727 (libXm.4.0.2.dylib + 711211) 
[0x21b9a2b]
                          16   DrawLine + 585 (libXm.4.0.2.dylib + 708202) 
[0x21b8e6a]
                            16   _XmStringDrawSegment + 1756 (libXm.4.0.2.dylib 
+ 706096) [0x21b8630]
                              16   _XmXftDrawString + 574 (libXm.4.0.2.dylib + 
979455) [0x21fb1ff]
                                16   XQueryColor + 96 (libX11.6.dylib + 93779) 
[0x240be53]
                                  16   _XReply + 239 (libX11.6.dylib + 130490) 
[0x2414dba]
                                    16   xcb_wait_for_reply + 80 
(libxcb.1.dylib + 9424) [0x2f554d0]
                                      16   wait_for_reply + 280 (libxcb.1.dylib 
+ 9724) [0x2f555fc]
 also there are a few
      ..........
                14   XFlush + 31 (libX11.6.dylib + 25404) [0x23fb33c]
                    14   _XFlush + 41 (libX11.6.dylib + 129825) [0x2414b21]
                      14   _XSend + 359 (libX11.6.dylib + 127979) [0x24143eb]
                        14   xcb_writev + 87 (libxcb.1.dylib + 8632) [0x2f551b8]
                          14   _xcb_out_send + 65 (libxcb.1.dylib + 8720) 
[0x2f55210]
                            14   __select + 10 (libsystem_kernel.dylib + 
104530) [0x9be7e852]

For X11.bin I posted it on 'pastie.org' : http://pastie.org/pastes/9667543/text
I hope you may find something useful in these data.
Thanks in advance,


     Le Mardi 21 octobre 2014 16h15, Jeremy Huddleston Sequoia 
<[email protected]> a écrit :
   

 Hey Jonathan,

I suggest you take a sysdiagnose during the launch of your app on both 
Mavericks and Yosemite and compare the spindumps to see where your app and the 
X server (X11.bin) are spending the bulk of their time.  That might give some 
insight into what is causing the launch regression.


> On Oct 21, 2014, at 02:39, jonathan NA <[email protected]> wrote:
> 
> Hello,
> 
> My application that worked fine in 10.9 (Mavericks) is now really sluggish 
> with 10.10.
> To be more precise the first time the application is drew I can see the GUI 
> toolkit
> drawing each widget and the same slowness is visible when resizing it.
> This application started in 3/4 seconds on 10.9 now takes approx. 8/9 seconds.
> 
> We've tried determining where the problem is, and we've noticed that without 
> processing "Expose" event 
> the whole application starts under a second (but of course there is no 
> content in it).
> Also when the application starts and still drawing its content with you 
> select the title bar and move
> by a few pixels the window, then the drawing is accelerated and almost 
> instantaneous.
> 
> This applications uses Motif/X11 with at the most 5 pixmaps and a few images 
> loaded in a 
> "Custom" widgets, but even without these resources the problem persists.
> I've also at hand other applications using the same toolkit and all of them 
> have the same problem.
> We've also tried older Xquartz releases up to 2.7.5 and even the 2.7.8 beta 
> without success.
> On Debian Linux (6 or 7) it works as expected without speed problems.
> 
> Does anyone know what could be the problem here ? As of now I tend to believe 
> the problem is on Xquartz side but I don't know how to check this ?
> (Maybe there is a Xquartz 'debug' to help ?)
> 
> 
> Also on a side-note, when installing Xquartz, fc-cache is taking a lot of 
> times (almost 5/6minutes).
> 
> Thanks in advance for your help.
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription: 
> https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org
> 
> This email sent to [email protected]


   
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to