emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28227: closed (26.0.50; Tramp tests are slow)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28227: closed (26.0.50; Tramp tests are slow)
Date: Sat, 09 Sep 2017 16:29:01 +0000

Your message dated Sat, 09 Sep 2017 09:27:25 -0700
with message-id <address@hidden>
and subject line Re: bug#28227: 26.0.50; Tramp tests are slow
has caused the debbugs.gnu.org bug report #28227,
regarding 26.0.50; Tramp tests are slow
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28227: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28227
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.0.50; Tramp tests are slow Date: Thu, 24 Aug 2017 14:03:32 -0700
The Tramp tests are the slowest tests in Emacs's test suite, even when
they aren't set up to access a remote machine.

After a little investigation I think the cause of the slowness is
excessive memory allocation. I modified ert-run-tests to print
memory statistics after each test and found that tramp-tests.el, which
takes 100 seconds to run on my machine, is spending 39 seconds doing
garbage collection, and by the end of the test run has allocated and
freed 27 million strings.

Here is a log file with memory statistics:

Attachment: tramp-tests.log
Description: Text document

And here are the messages I added to ert-run-test's loop:

(message "GC: %s" (garbage-collect))
(message "GC count: %s time: %s" gcs-done gc-elapsed)
(message "Memory-use-counts: %s" (memory-use-counts))

--- End Message ---
--- Begin Message --- Subject: Re: bug#28227: 26.0.50; Tramp tests are slow Date: Sat, 09 Sep 2017 09:27:25 -0700 User-agent: mu4e 0.9.18; emacs 25.1.1
Michael Albinus writes:

> Gemini Lasswell <address@hidden> writes:
>> Here's a new version of the patch which incorporates your suggestions:
>
> LGTM, thanks!

Pushed to master.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]