all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* The Emacs master is much slower than the emacs-27 branch.
@ 2020-12-03 18:15 Alan Mackenzie
  2020-12-03 20:17 ` Eli Zaretskii
                   ` (4 more replies)
  0 siblings, 5 replies; 74+ messages in thread
From: Alan Mackenzie @ 2020-12-03 18:15 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

I've got pretty much up to date copies of both the master and the
emacs-27 branches.

When I run my customary benchmark (see below) on master's src/xdisp.c in
master, it's taking around 34s.  On emacs-27, it's taking 22s.

That's a massive slowdown.  Does anybody know why this is happening?
Should I raise a bug report?

The benchmark I run is this:

(defmacro time-it (&rest forms)
  "Time the running of a sequence of forms using `float-time'.
Call like this: \"M-: (time-it (foo ...) (bar ...) ...)\"."
  `(let ((start (float-time)))
    ,@forms
    (- (float-time) start)))

(defun time-scroll (&optional arg)
  (interactive "P")
  (message "%s"
           (time-it
            (condition-case nil
                (while t
                  (if arg (scroll-down) (scroll-up))
                  (sit-for 0))
              (error nil)))))

On a freshly loaded buffer, do M-: (time-scroll).

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2020-12-09  4:23 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 18:15 The Emacs master is much slower than the emacs-27 branch Alan Mackenzie
2020-12-03 20:17 ` Eli Zaretskii
2020-12-04  9:13   ` Alan Mackenzie
2020-12-03 20:59 ` Mattias Engdegård
2020-12-04  9:24   ` Alan Mackenzie
2020-12-04 10:46   ` Alan Third
2020-12-04 11:07     ` Mattias Engdegård
2020-12-03 21:09 ` Ergus
2020-12-04  9:19   ` Alan Mackenzie
2020-12-03 22:17 ` Stephen Berman
2020-12-04  9:04   ` Alan Mackenzie
2020-12-04  9:32     ` Stephen Berman
2020-12-04  9:53       ` Alan Mackenzie
2020-12-04 10:14         ` Stephen Berman
2020-12-04 11:45       ` Eli Zaretskii
2020-12-04 12:54         ` Stephen Berman
2020-12-04 13:28           ` Eli Zaretskii
2020-12-04 13:53             ` Stephen Berman
2020-12-04 14:05               ` Stephen Berman
2020-12-04 15:51                 ` Eli Zaretskii
2020-12-04 16:03                   ` Stephen Berman
2020-12-04 16:28                     ` Óscar Fuentes
2020-12-04 18:51                       ` Eli Zaretskii
2020-12-04 21:37                         ` Stephen Berman
2020-12-05  8:05                           ` Eli Zaretskii
2020-12-04 16:49                     ` Stefan Monnier
2020-12-05 14:04                       ` Basil L. Contovounesios
2020-12-05 14:38                         ` Stefan Monnier
     [not found]                     ` <837dpxedmz.fsf@gnu.org>
2020-12-04 17:03                       ` Stephen Berman
2020-12-04 17:59                         ` Stephen Berman
2020-12-04 20:47                           ` Óscar Fuentes
2020-12-04 21:33                             ` Stephen Berman
2020-12-04 17:07                     ` Eli Zaretskii
2020-12-04 19:27                   ` Gregory Heytings via Emacs development discussions.
2020-12-04 19:34                     ` Stephen Berman
2020-12-04 19:58                     ` Eli Zaretskii
2020-12-04 20:33                       ` Gregory Heytings via Emacs development discussions.
2020-12-04 20:47                         ` Eli Zaretskii
2020-12-04 20:59                           ` Gregory Heytings via Emacs development discussions.
2020-12-04 21:02                             ` Eli Zaretskii
2020-12-04 21:20                               ` Gregory Heytings via Emacs development discussions.
2020-12-05  7:44                                 ` Eli Zaretskii
2020-12-05  8:14                                   ` Gregory Heytings via Emacs development discussions.
2020-12-05  8:44                                     ` Gregory Heytings via Emacs development discussions.
2020-12-05  9:14                                       ` Eli Zaretskii
2020-12-05  9:20                                         ` Eli Zaretskii
2020-12-05  9:33                                           ` Eli Zaretskii
2020-12-05 13:50                                             ` Basil L. Contovounesios
2020-12-05 14:29                                               ` Eli Zaretskii
2020-12-05 14:56                                                 ` Ergus
2020-12-05 15:14                                                   ` Eli Zaretskii
2020-12-05 15:29                                                     ` Andrea Corallo via Emacs development discussions.
2020-12-05 15:15                                             ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:31                                               ` Óscar Fuentes
2020-12-05  9:05                                     ` Eli Zaretskii
2020-12-05  9:23                                     ` martin rudalics
2020-12-05 12:55                                       ` Gregory Heytings via Emacs development discussions.
2020-12-05 13:41                                         ` Eli Zaretskii
2020-12-05 15:17                                           ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:55                                             ` Eli Zaretskii
2020-12-05 14:47                                       ` Óscar Fuentes
2020-12-05 15:07                                         ` martin rudalics
2020-12-05 15:24                                           ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:36                                             ` martin rudalics
2020-12-05 15:39                                               ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:47                                                 ` Óscar Fuentes
2020-12-05 17:21                                                   ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:57                                                 ` Eli Zaretskii
2020-12-05 16:04                                                   ` Gregory Heytings via Emacs development discussions.
2020-12-05 15:08                                         ` Eli Zaretskii
2020-12-04 14:55     ` Arthur Miller
2020-12-04 15:00       ` Arthur Miller
2020-12-04  9:59 ` Gregory Heytings via Emacs development discussions.
2020-12-09  4:23   ` andres.ramirez

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.