--- 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:
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 ---