all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: uyennhi.qm@gmail.com, 42911@debbugs.gnu.org
Subject: bug#42911: 28.0.50; write_region sometimes extremely very slow
Date: Tue, 18 Aug 2020 13:44:56 +0300	[thread overview]
Message-ID: <83lficfd1z.fsf@gnu.org> (raw)
In-Reply-To: <87ft8kffru.fsf@gmail.com> (message from Tino Calancha on Tue, 18 Aug 2020 11:46:13 +0200)

> From: Tino Calancha <tino.calancha@gmail.com>
> Date: Tue, 18 Aug 2020 11:46:13 +0200
> Cc: uyennhi.qm@gmail.com
> 
> Recipe:
> emacs -Q ~/save-buffer-slow.txt
> ;; insert few characters and run
> M-: (benchmark-run nil (save-buffer))
> 
> ;; Repeat several times: sometimes it takes a reasonable time, but
> ;; in others it takes huge time
> ;; (6-10 s to save a buffer with less that 50 characters)
> 
> It happens randomly.

Did you check that GC doesn't kick in when the "slow" saving happens?





  reply	other threads:[~2020-08-18 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18  9:46 bug#42911: 28.0.50; write_region sometimes extremely very slow Tino Calancha
2020-08-18 10:44 ` Eli Zaretskii [this message]
2020-08-25 16:04   ` Tino Calancha
2020-08-25 16:19     ` Eli Zaretskii
2021-07-23 20:13 ` Tino Calancha

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=83lficfd1z.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=42911@debbugs.gnu.org \
    --cc=tino.calancha@gmail.com \
    --cc=uyennhi.qm@gmail.com \
    /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.