GNU bug report logs -
#42911
28.0.50; write_region sometimes extremely very slow
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Tue, 18 Aug 2020 09:47:02 UTC
Severity: normal
Found in version 28.0.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 42911 <at> debbugs.gnu.org (full text, mbox):
> From: Tino Calancha <tino.calancha <at> gmail.com>
> Cc: uyennhi.qm <at> gmail.com, 42911 <at> debbugs.gnu.org
> Date: Tue, 25 Aug 2020 18:04:17 +0200
>
> > Did you check that GC doesn't kick in when the "slow" saving happens?
> `benchmark-run` lets you know teh number of GC and the time used by them
> while running the form. The reported slowliness was happening even
> without GC.
> I was curious if someone runnning opensuse Tumbleweed was seeing something similar.
>
> I suspect this might be a problem of my OS (probably it was under heavy stress).
> Now I am in vacation, and the computer seems more relax (same like me). I have also
> upgraded the OS and got a new kernel.
>
> The following is data right now running this:
> emacs -Q /tmp/save-slow-buffer.txt
> ;; evaluate the following key binding:
>
> (global-set-key (kbd "<f5>") (lambda () (interactive) (print
> (benchmark-run nil (save-buffer)) (current-buffer))))
>
> ;; now push <f5> slowly several times
> ;; Still seems a bit slow sometimes (~0.1 s) but it is acceptable for my needs:
If it isn't GC, then my suggestion would be to run Emacs under 'perf'
and see what the profile tells us.
This bug report was last modified 3 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.