unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Regarding performance issues with the Emacs 25.1 Windows-build
@ 2016-11-09  8:34 Jostein Kjønigsen
  2016-11-09 16:22 ` Eli Zaretskii
  0 siblings, 1 reply; 37+ messages in thread
From: Jostein Kjønigsen @ 2016-11-09  8:34 UTC (permalink / raw)
  To: emacs-devel

Hey everyone.

I'm a platform-hopping Emacs-user using Linux at home and Windows at
work.

At home I run Emacs built from source, but getting a Windows-build of
Emacs going seems a bit more involved than "apt source emacs", so I run
the pre-compiled binaries provided by GNU.

Thus I was very excited the final release of Emacs 25.1. Finally I could
use these new features on my WIndows-workstation at work as well!

But now I'm going back to 24.5. Why? It seems Emacs 25.1 for Windows has
major performance issues. Compared to Emacs 24.5 it's just on overall
slower for just about anything.

At first I thought it was just the 64-bit build which was affected
(thanks for 64-bit btw!). But after using the 32-bit build for a while,
I can just *tell* that everything is moving slower than it used to.

Now to be truthful, I haven't been fully methodical and scientific about
this. I've noticed, but I haven't systematically measured anything.

The good news is that someone else has done just this:
https://www.reddit.com/r/emacs/comments/598iot/on_windows_emacs_251_is_noticeably_slower_than/

The numbers here show Emacs 25.1 on Windows to be almost twice as slow
as 24.5!

Now on Linux I'm having none of these issues, so my suspicion is
targeted towards the build itself, more than the code-base.

How was the Windows-version built? Was it built by the same people,
using the same setup and the same toolchain? Or was something done
differently this time?

Windows still has significant marketshare so I don't think we're doing
Emacs or GNU any good by having it's first-class editor appear sluggish.

Anyone have idea how we can go about this fixing this?

--
Jostein Kjønigsen
🥓
jostein@kjonigsen.net / jostein@secure.kjonigsen.net / jostein@gmail.com
https://jostein.kjonigsen.net



^ permalink raw reply	[flat|nested] 37+ messages in thread
* Re: Regarding performance issues with the Emacs 25.1 Windows-build
@ 2016-11-21 23:35 Fernando Febles Armas
  2016-11-22  3:44 ` Eli Zaretskii
  0 siblings, 1 reply; 37+ messages in thread
From: Fernando Febles Armas @ 2016-11-21 23:35 UTC (permalink / raw)
  To: emacs-devel

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

> I've put the two new binaries on alpha
> http://alpha.gnu.org/gnu/emacs/pretest/
> Feedback welcome.
> Phil

The new zip files almost double in size the previous ones. I've downloaded
the i686 version, and there are two files with the same content weighting
77Mb each one: 'emacs.exe' and 'emacs-25.1.exe'.

I've tested the performance with an old 2004 Sony VAIO, and the performance
is much better than the version compiled without optimizations: now I can
scroll without problems :-)

Still a bit slower than the 24.5 version. Loading emacs with my init file
takes 13.2 seconds with 25.1-2, and 10.6 with the older 24.5.

By the way, are the optional dependencies (emacs-25-x86_64-deps.zip and
emacs-25-i686-deps.zip) compiled with the -O2 performance option enabled?

Thanks for your great work.

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

^ permalink raw reply	[flat|nested] 37+ messages in thread
* Re: Regarding performance issues with the Emacs 25.1 Windows-build
@ 2017-01-09  6:33 jsj.register
  2017-01-09  7:40 ` Richard Copley
  2017-01-09  7:57 ` Nikolay Kudryavtsev
  0 siblings, 2 replies; 37+ messages in thread
From: jsj.register @ 2017-01-09  6:33 UTC (permalink / raw)
  To: phillip.lord@russet.org.uk, emacs-devel@gnu.org

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

Hi,

I encountered huge lags when using org mode (detailed below) on build “emacs-25.1-2-x86_64-w64-mingw32.zip” with “emacs-25-x86_64-deps.zip” (from ftp.gnu.org).
With the same configuration and the same org file, everything is fine on Mac (emacs 25) and on Windows (emacs 24.5), so I think I might post is here. I am sorry if this is the wrong place.

Reproducing it is a little bit tricky.
It seems to happen when certain utf8 symbols are displayed in the buffer.
By saying "certain utf8 symbols”, I refer to those that are not with the common width, so it depends on the font you are using.
What I did is the following.

I am using the latest org mode (version 9) and have turned on “org-pretty-entities” , which replaces some latex codes (eg. \alpha) with their corresponding utf-8 symbols.
The font I use in emacs is “Hack”. With this font, greek letters are all OK, they have the same width as the English letters.
One example to show the lag is “\gg”.
Simply open an org file and put in “\gg” followed by a space and some other letters. “\gg” will be displayed as a utf8 symbol.
Then try to move the cursor quickly. You should experience huge lags.

Any help is appreciated.

Best,
jsj

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

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

end of thread, other threads:[~2017-01-10  7:30 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09  8:34 Regarding performance issues with the Emacs 25.1 Windows-build Jostein Kjønigsen
2016-11-09 16:22 ` Eli Zaretskii
2016-11-09 16:55   ` Noam Postavsky
2016-11-09 17:18     ` Eli Zaretskii
2016-11-10 15:16       ` Phillip Lord
2016-11-10 22:04       ` Phillip Lord
2016-11-11  7:56         ` Eli Zaretskii
2016-11-11 20:53           ` Phillip Lord
2016-11-14 15:56             ` Phillip Lord
2016-11-14 16:19               ` Eli Zaretskii
2016-11-14 16:55                 ` Phillip Lord
2016-11-14 18:12                   ` Eli Zaretskii
2016-11-15 10:49                     ` Jostein Kjønigsen
2016-11-15 11:42                       ` Jostein Kjønigsen
2016-11-15 13:17                         ` Phillip Lord
2016-11-15 13:30                           ` Jostein Kjønigsen
2016-11-15 15:17                             ` Eli Zaretskii
2016-11-15 15:39                               ` Jostein Kjønigsen
2016-11-20  9:31                                 ` Phillip Lord
2016-11-29 18:26                                   ` Jostein Kjønigsen
2016-11-29 21:47                                     ` Phillip Lord
2016-11-30  7:56                                       ` Fabrice Popineau
2016-11-30  8:36                                         ` Jostein Kjønigsen
2016-11-30 12:51                                           ` Fabrice Popineau
2016-11-30 20:11                                           ` Richard Stallman
2016-11-30 14:48                                         ` Eli Zaretskii
2016-12-09 21:09                                           ` Fabrice Popineau
2016-12-12 17:18                                             ` Phillip Lord
2016-11-11 19:13         ` Jostein Kjønigsen
2016-11-09 17:21   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2016-11-21 23:35 Fernando Febles Armas
2016-11-22  3:44 ` Eli Zaretskii
2017-01-09  6:33 jsj.register
2017-01-09  7:40 ` Richard Copley
2017-01-10  7:28   ` jsj.register
2017-01-09  7:57 ` Nikolay Kudryavtsev
2017-01-10  7:30   ` jsj.register

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