• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5


  • Subject: Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
  • From: email@hidden
  • Date: Thu, 01 Nov 2007 10:00:26 -0500 (CDT)

I think you should sample the X server instead of emacs. emacs_Xt_next_event() is how emacs handles events. In X all the on-screen work is actually done by another process, the X server (Xquartz in this case). The poll() is for the descriptor used to comminucate between X server and emacs. You should sample Xquartz and see what is taking so much time.

There is a nice write-up in section 9 of this paper about using DTrace for similar ends:

http://www.usenix.org/event/usenix04/tech/general/full_papers/cantrill/cantrill_html/

mzs

On Thu, 1 Nov 2007, William Gallafent - email@hidden wrote:

Well, I did a quick "Sampler" run.

I just pressed page up and page down a few times, and all the time spent was redrawing the text on the screen.

This time is apparently being spent in "poll$UNIX2003" from _XRead <- _XReply <- XQueryColor <- xft_convert_color, and "select$DARWIN_EXTSN", from XtAppProcessEvent <- emacs_Xt_next_event.

Anybody know why this might be?

(There is a message with the actual Sampler run attached (24KB zipped!) awaiting moderation ...)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


  • Follow-Ups:
    • Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
      • From: William Gallafent <email@hidden>
References: 
 >Xft performance with XEmacs 21.5.28 on Mac OS 10.5 (From: William Gallafent <email@hidden>)
 >Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5 (From: William Gallafent <email@hidden>)

  • Prev by Date: Re: source drop: xorg-server-1.2a3 (fixed middle-click!)
  • Next by Date: Re: Errors for email address "email@hidden"
  • Previous by thread: Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
  • Next by thread: Re: Xft performance with XEmacs 21.5.28 on Mac OS 10.5
  • Index(es):
    • Date
    • Thread