unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>,
	Noam Postavsky <npostavs@users.sourceforge.net>
Cc: 23928@debbugs.gnu.org
Subject: bug#23928: 25.0.95; Performance regression observable with smartparens
Date: Sun, 10 Jul 2016 02:55:31 +0000	[thread overview]
Message-ID: <CAHyO48xqMW=y3VJJLKNui2BAM6igKR3nuMWZcaep_rgq4uu5Kw@mail.gmail.com> (raw)
In-Reply-To: <83wpkug2zs.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1927 bytes --]

On Sat, Jul 9, 2016 at 10:01 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > To narrow things down, it would be helpful to have a profile from 24.5
> > (which I understand doesn't have this performance problem?) for
> > comparison.
>

I’ve added profiles of both here:
https://gist.github.com/aaronjensen/a1c2b56eac192b0d9cac76b493822070

In this profile, they’re showing pretty much the exact same performance, so
that doesn’t tell us much. I believe the performance degradation is
something that happens over time, and these are fresh runs of emacs. I’ll
have to try and get from 25 next time it slows down on me.

One curious thing is that the emacs 24 profile shows all of the builtins
(let/if/save-excusion) and the emacs 25 profile does not. Is there
something I’m doing wrong that is causing that? I’m using the same
`profiler-start` function.

>
> I think the version of smartparens and some kind of recipe starting
> from "emacs -Q" is also required, because saying it's unusable doesn't
> really tell enough.
>

I’ll work on this. It seems possible that it will be very hard to track
down given the nature—the performance isn’t *always* bad, it just becomes
bad at some point in the session. It’s possible that this is not an emacs
or even a smartparens bug, I mostly opened this in case something stood
out, “Oh, yea we changed the regex engine and…” or something like that.


>
> As I said, I'm not yet convinced it's an Emacs core problem.  I see no
> evidence to that effect.
>

> And please don't use elp.el to produce profiles, use profiler.el,
> because the latter can profile primitives as well.
>

I don’t even know how to use elp.el, was there some indication that I was?
As I said above, I’m confused by the fact that emacs 25 profiler output is
missing built in functions (Is this what you mean by primitives?)

Thanks!
-- 
Aaron

[-- Attachment #2: Type: text/html, Size: 3135 bytes --]

  reply	other threads:[~2016-07-10  2:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09 14:56 bug#23928: 25.0.95; Performance regression observable with smartparens Aaron Jensen
2016-07-09 15:53 ` Noam Postavsky
2016-07-09 17:01   ` Eli Zaretskii
2016-07-10  2:55     ` Aaron Jensen [this message]
2016-07-10 14:29       ` Eli Zaretskii
2016-07-10 15:58         ` Aaron Jensen
2016-07-10 16:14           ` Eli Zaretskii
2016-07-10 16:53             ` Aaron Jensen
2016-07-10 17:14               ` Eli Zaretskii
2016-07-10 18:42                 ` Dmitry Gutov
2016-07-10 19:01                   ` Eli Zaretskii
2016-07-10 19:17                     ` Dmitry Gutov
2016-07-10 19:20                       ` Eli Zaretskii
2016-07-10 19:56                         ` Dmitry Gutov
2016-07-11  2:28                           ` Eli Zaretskii
2016-07-11  2:48                             ` Aaron Jensen
2016-07-11  2:49                               ` Aaron Jensen
2016-07-11 14:38                               ` Eli Zaretskii
2016-07-20  4:58                                 ` Aaron Jensen
2016-07-20 14:56                                   ` Eli Zaretskii
2016-07-10 18:49                 ` Aaron Jensen
2016-07-09 16:50 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAHyO48xqMW=y3VJJLKNui2BAM6igKR3nuMWZcaep_rgq4uu5Kw@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=23928@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).