unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
@ 2018-03-26 10:12 zhang cc
  2018-03-26 15:16 ` Eli Zaretskii
  0 siblings, 1 reply; 35+ messages in thread
From: zhang cc @ 2018-03-26 10:12 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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

1. start emacs with “emacs -Q”
2. eval the following form:
(progn
  (setq ddd-tm (current-time))
  (switch-to-buffer-other-window "*Messages*")
  (message "ddd: %ss"  (float-time (time-subtract (current-time) ddd-tm))))

The result is lager than 0.1s on my machine. This makes undo-tree running too slowly, because it calls switch-to-buffer-other-window twice per undo.

The emacs 25 has no such problem.

OS: Centos 7.4 x86_64
Emacs: 26.0.91
GTK version: 2.24.31


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

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

end of thread, other threads:[~2018-03-30  7:51 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 10:12 Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s) zhang cc
2018-03-26 15:16 ` Eli Zaretskii
2018-03-26 15:22   ` zhang cc
     [not found]   ` <544b8346-bda9-45eb-9573-1d51d9f768b2@Spark>
2018-03-26 15:25     ` zhang cc
2018-03-26 15:30       ` Eli Zaretskii
2018-03-26 16:09         ` Robert Pluim
2018-03-26 16:29           ` Clément Pit-Claudel
2018-03-26 16:34           ` Robert Pluim
2018-03-26 16:37             ` Noam Postavsky
2018-03-26 16:59               ` Robert Pluim
2018-03-26 17:28                 ` Eli Zaretskii
2018-03-26 17:49                   ` Stefan Monnier
2018-03-26 18:17                     ` Eli Zaretskii
2018-03-26 18:26                       ` Stefan Monnier
2018-03-26 18:33                         ` Eli Zaretskii
2018-03-26 18:41                           ` Stefan Monnier
2018-03-26 18:46                         ` martin rudalics
2018-03-26 18:58                           ` Eli Zaretskii
2018-03-26 19:16                             ` martin rudalics
2018-03-26 19:24                               ` Eli Zaretskii
2018-03-26 21:41                                 ` martin rudalics
2018-03-27  2:50                                   ` Eli Zaretskii
2018-03-27  7:23                                     ` martin rudalics
2018-03-29  9:37                                       ` Eli Zaretskii
2018-03-29 23:15                                         ` Noam Postavsky
2018-03-29 23:20                                           ` Noam Postavsky
2018-03-30  7:51                                           ` Eli Zaretskii
2018-03-26 20:09                           ` Stefan Monnier
2018-03-26 21:42                             ` martin rudalics
2018-03-27  2:45                             ` Eli Zaretskii
2018-03-27  3:41                               ` Stefan Monnier
2018-03-27  7:23                                 ` martin rudalics
2018-03-27 12:00                                   ` Stefan Monnier
2018-03-29  8:58                                 ` Eli Zaretskii
2018-03-26 18:46                     ` martin rudalics

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).