From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel@bigwalter.net (Daniel Jensen) Newsgroups: gmane.emacs.help Subject: Re: Profiling Emacs Lisp Date: Thu, 30 Aug 2007 19:28:58 +0200 Message-ID: <87tzqhors5.fsf@orme.bigwalter.net> References: <1188472771.153414.122840@k79g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1188495718 18875 80.91.229.12 (30 Aug 2007 17:41:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 17:41:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 19:41:56 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQo1b-0000Pu-Vo for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 19:41:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQo1b-0004qW-Ed for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 13:41:47 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-X-Trace: individual.net 19JQEPBJRjbjcyXZ4MhvRwRPu5/xP5ApWTT7rzwy/YROpenuoP Cancel-Lock: sha1:QbQnUeB7PeYufRB7/Crc35XlSto= sha1:nGUM6brUBtGaFZZ3eJYsTdwSN54= X-Face: SNGmwsN&0DaHhS0!*%\@y"Wc^).,<; VsqY#}K/NJ:A Z6_>Md7x$Z9C1%BAu41M'12-8(f2{H*8OsnYv,K+y.szl1K>}{uC/>2?; k[KUiD=$}@z>odk|7Tk7i $A|{j7LhTt!:SdVp5Z, kKA247}--"-QLedxCbw|#&bh=R]Rd)kx{q+T'fG)9ayG`+\@g'3vx1Fd3bl -`3}Guvr!A"Z);"$|]CXW>YR5m"<[L User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:151466 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46987 Archived-At: Nordlöw writes: > Is there a way to profile Emacs to get a list of what Emacs-Lisp code > I am currently using is the most time-consuming. I am asking because I > have written a lot of extensions to the syntax highlighting in cc-mode > and this has made my Emacs somewhat sluggish when coding C/C++. A profiler is included with Emacs. Use `M-x finder-commentary RET elp RET' to read the instructions. However, I don't know if it's suitable for debugging font-locking. Have you tried different settings?