all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: cperl-mode
Date: Fri, 31 Aug 2007 15:24:10 +1000	[thread overview]
Message-ID: <87wsvcgttx.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: fb81n4$hrk$1@agate.berkeley.edu

Ilya Zakharevich <nospam-abuse@ilyaz.org> writes:

> [A complimentary Cc of this posting was sent to
> Goran 
> <argoxo@yahoo.com>], who wrote in article <mailman.5390.1188205514.32220.help-gnu-emacs@gnu.org>:
>> Why cperl-mode in Emacs 22.1 is so slow?
>
> As you see from the pletora of people rushing to help you:
>
>   E2LITTLECONTEXT
>
> There may be many factors affecting the speed; the complexity of the
> Perl script, the version of CPerl mode, the settings currently in use
> in your customization files, the settings in the shipped customization
> files, and, finally, the version of Emacs.
>
> One way of reading your question above is when you exclude all other
> factors (e.g., by running with -no-site-file, and loading
> cperl-mode.el from a known location, and checking the same Perl
> script), Emacs 22.1 is slower than some other (unspecified) version of
> Emacs.
>
> You need to provide enough information for people to start ESP on what
> you meant exactly,
>

Just to add to the info for th eOP.

I'm using cperl-mode under the latest emacs CVS sources (22.1.50.1) on perl
scripts of an average size around 200+ lines and I've not observed any
speed/performance issues. However, I rarely find it necessary to use the
debugger (I think using trace/step etc is a poor substitute for
understanding and as a rule only use debuggers when the problem is likely
to be related to something like interaction with the kernel, memory,
foreign functions etc). Likewise, I only use the profiler at the end if
performance is an issue. 

Just mentioning this to emphasise Illya's point that more information is
required to understand where the performance problem may be.

Tim


-- 
tcross (at) rapttech dot com dot au

  reply	other threads:[~2007-08-31  5:24 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5390.1188205514.32220.help-gnu-emacs@gnu.org>
2007-08-31  3:25 ` cperl-mode Ilya Zakharevich
2007-08-31  5:24   ` Tim X [this message]
2007-08-31  9:22   ` cperl-mode Goran
2007-08-31 18:19     ` cperl-mode Peter Dyballa
     [not found]   ` <mailman.109.1188567372.18990.help-gnu-emacs@gnu.org>
2007-08-31 20:51     ` cperl-mode Ilya Zakharevich
2007-09-01  4:38       ` cperl-mode Tim X
2007-09-01 10:17         ` cperl-mode rahed
2007-09-02  8:23         ` cperl-mode Ilya Zakharevich
2007-09-29 19:28           ` cperl-mode David Combs
2007-09-30 19:48             ` cperl-mode Ilya Zakharevich
2010-05-21 20:09 cperl-mode Terrence Brannon
     [not found] ` <874ohy7yy1.fsf@castleamber.com>
     [not found]   ` <0964e194-b8a7-4588-b686-d5e4c501262a@b21g2000vbh.googlegroups.com>
     [not found]     ` <87d3wl3ut4.fsf@castleamber.com>
2010-05-24 21:12       ` cperl-mode LanX
2010-05-24 22:11         ` cperl-mode John Bokma
2010-05-25 10:36           ` cperl-mode LanX
2010-05-26  5:20             ` cperl-mode Ilya Zakharevich
2010-05-26 12:41               ` cperl-mode LanX
2010-05-26 20:33                 ` cperl-mode Ilya Zakharevich
2010-05-26 21:13                   ` cperl-mode LanX
2010-05-27  7:01                     ` cperl-mode Ilya Zakharevich
2010-05-24 21:45 ` cperl-mode Andreas Politz
     [not found] <mailman.133.1188636475.18990.help-gnu-emacs@gnu.org>
2007-09-02  8:28 ` cperl-mode Ilya Zakharevich
2007-09-03  7:41   ` cperl-mode Goran
2007-09-03 20:13     ` cperl-mode Ilya Zakharevich
     [not found]   ` <mailman.222.1188805400.18990.help-gnu-emacs@gnu.org>
2007-09-03 20:19     ` cperl-mode Ilya Zakharevich
2007-09-07  4:43 ` cperl-mode Stefan Monnier
2007-09-07 23:25   ` cperl-mode Ilya Zakharevich
2007-09-08  7:33     ` cperl-mode Eli Zaretskii
     [not found]     ` <mailman.483.1189236797.18990.help-gnu-emacs@gnu.org>
2007-09-10  8:33       ` cperl-mode Ilya Zakharevich
2007-09-10 19:48         ` cperl-mode Eli Zaretskii
     [not found]         ` <mailman.654.1189453685.18990.help-gnu-emacs@gnu.org>
2007-09-11  1:08           ` cperl-mode Ilya Zakharevich
2007-09-11  3:28             ` cperl-mode Eli Zaretskii
     [not found]             ` <mailman.673.1189481287.18990.help-gnu-emacs@gnu.org>
2007-09-11 19:58               ` cperl-mode Ilya Zakharevich
2007-09-12  6:44                 ` cperl-mode Eli Zaretskii
2007-09-11  8:11           ` cperl-mode Tim X
2007-09-11 19:44             ` cperl-mode Eli Zaretskii
2007-09-11 19:53             ` cperl-mode Ilya Zakharevich
2007-09-13  8:48               ` cperl-mode Tim X
     [not found]             ` <mailman.723.1189539876.18990.help-gnu-emacs@gnu.org>
2007-09-13  8:43               ` cperl-mode Tim X
2007-09-13  8:45               ` cperl-mode Tim X
     [not found] <200708312051.l7VKpe2C020707@powdermilk.math.berkeley.edu>
2007-09-01  8:47 ` cperl-mode gordon gordon
     [not found] <200708310325.l7V3PP1e017798@powdermilk.math.berkeley.edu>
2007-08-31  8:04 ` cperl-mode gordon gordon
  -- strict thread matches above, loose matches on Subject: below --
2007-08-25 13:02 cperl-mode Goran
2004-03-26 14:47 cperl-mode Stefan Monnier
2004-03-26 18:03 ` cperl-mode Juanma Barranquero
2004-03-26 18:29   ` cperl-mode Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wsvcgttx.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.