From: Ergus <spacibba@aol.com>
To: emacs-devel@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>
Subject: Some performance questions.
Date: Wed, 8 Feb 2023 20:08:19 +0100 [thread overview]
Message-ID: <20230208190819.z7xwgxm5gpbzmjrz@Ergus> (raw)
In-Reply-To: 20230208190819.z7xwgxm5gpbzmjrz.ref@Ergus
Hi:
I have been forced to use emacs in MS-Windows and after some days
tweaking and trying I have some comments I am not sure if they are
intended, known or issues. So, I ask before creating a bug report.
I am making this comments now because I have exactly the same config on
GNU/Linux and I don't have any issue.
1) I observed important lags and delays interactively (moving cursor,
scrolling or just editing simple C++ code).
I ran the profiler and I found that 50% of the time was consumed by
flycheck's hooks. As I know flycheck is not our business, I disabled it
and continued.
2) While much better; there is still a very annoying lag. If I type
fast, the letters don't appear in the screen immediately, but come all
together after a while.
Again profile-start and this time I found that in a simple test like
editing (type, delete words, write functions), 35% of the time was consumed
by the garbage collection (Automatic GC) and other 35% by flyspell.
- So I checked the gcs-done variable and the value was not specially
different than same test on GNU/Linux.. but the time percent was much
higher.
- I disabled the flyspell for the moment as I have no other choice.
3) Now, in spite of it is much better, still there is a significant lag
(compared with GNU/Linux) which concerns me about whats going on with
the GC.
Now I get in the profiler-report:
71 45% Automatic GC
68 43% redisplay_internal
jit-lock-function
...
font-lock-fontify-keywords-region
37 23% c-font-lock-declarations
20 12% c-font-lock-cut-off-declarators
I have not observed such lags before on GNU/Linux, so some idea what I
may be doing wrong?
I know Eli uses MS-Windows frequently, so, any hint?
Thanks in advance,
Ergus
next parent reply other threads:[~2023-02-08 19:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230208190819.z7xwgxm5gpbzmjrz.ref@Ergus>
2023-02-08 19:08 ` Ergus [this message]
2023-02-08 20:09 ` Some performance questions Eli Zaretskii
2023-02-08 20:15 ` Eli Zaretskii
2023-02-08 20:56 ` Ergus
2023-02-09 6:17 ` Eli Zaretskii
2023-02-09 13:14 ` Ergus
[not found] ` <20230209114928.eqpojruluur42hur@Ergus>
2023-02-09 13:46 ` Eli Zaretskii
2023-02-09 15:45 ` Ergus
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=20230208190819.z7xwgxm5gpbzmjrz@Ergus \
--to=spacibba@aol.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.