From: Eli Zaretskii <eliz@gnu.org>
To: Markus Triska <markus.triska@gmx.at>, 496@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org,
bug-submit-list@donarmstrong.com
Subject: bug#496: 23.0.60; ispell-word becomes increasingly slower
Date: Sat, 28 Jun 2008 10:20:00 +0300 [thread overview]
Message-ID: <uod5mc9gf.fsf@gnu.org> (raw)
In-Reply-To: <20080628002655.A4921924848@mt-computer.local>
> Resent-From: Markus Triska <markus.triska@gmx.at>
> Resent-To: bug-submit-list@donarmstrong.com
> Resent-CC: Emacs Bugs <bug-gnu-emacs@gnu.org>
> Resent-Sender: don@donarmstrong.com
> From: Markus Triska <markus.triska@gmx.at>
> Date: Sat, 28 Jun 2008 02:26:55 +0200 (CEST)
> Cc:
>
>
> When I save the following form to test.el:
>
> (let ((n 0))
> (with-temp-buffer
> (insert "test")
> (while t
> (setq n (1+ n))
> (when (= (mod n 100) 0)
> (message "n: %s -- %s" n (emacs-uptime)))
> (ispell-word nil t))))
>
> and then do "emacs -Q --script test.el", I get:
>
> Starting new Ispell process [default] ...
> n: 100 -- 0 seconds
> n: 200 -- 0 seconds
> n: 300 -- 0 seconds
> n: 400 -- 0 seconds
> n: 500 -- 1 second
> n: 600 -- 1 second
> n: 700 -- 1 second
> n: 800 -- 1 second
> n: 900 -- 1 second
> n: 1000 -- 1 second
> n: 1100 -- 1 second
> n: 1200 -- 1 second
> n: 1300 -- 1 second
> n: 1400 -- 1 second
> n: 1500 -- 1 second
> n: 1600 -- 1 second
> n: 1700 -- 1 second
> n: 1800 -- 1 second
> n: 1900 -- 1 second
> n: 2000 -- 1 second
> ...
> n: 52400 -- 3 minutes, 12 seconds
> n: 52500 -- 3 minutes, 13 seconds
> n: 52600 -- 3 minutes, 14 seconds
> n: 52700 -- 3 minutes, 15 seconds
> ..
> n: 70500 -- 8 minutes, 30 seconds
> n: 70600 -- 8 minutes, 31 seconds
> n: 70700 -- 8 minutes, 33 seconds
> n: 70800 -- 8 minutes, 35 seconds
> n: 70900 -- 8 minutes, 36 seconds
> n: 71000 -- 8 minutes, 38 seconds
> ...
>
> i.e., the program becomes increasingly slower, from many iterations
> per second to several seconds per iteration. With "top", I also see
> that aspell uses increasingly more memory. I can reproduce this on
> Fedora Core 9 and OSX 10.4 with Aspell 0.60.5. In a simplified test to
> check for memory leaks in aspell, I did:
>
> $ while true; do echo "test"; done | aspell -a
>
> and in this case, aspell's memory usage seems to stay constant.
Garbage collection?
next prev parent reply other threads:[~2008-06-28 7:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 0:26 bug#496: 23.0.60; ispell-word becomes increasingly slower Markus Triska
2008-06-28 7:20 ` Eli Zaretskii [this message]
2008-06-28 9:25 ` Markus Triska
2008-06-28 15:04 ` Eli Zaretskii
2008-06-28 15:21 ` Markus Triska
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uod5mc9gf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=496@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=bug-submit-list@donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=markus.triska@gmx.at \
/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 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).