Michael Albinus <michael.albi...@gmx.de> writes: Hi Philipp,
>> I plan to provide a detailed analysis what happens in Tramp when running >> an asynchronous process. Based on this, we could discuss >> improvements. With commit 4c3c175a63823d851c7e9326f4f70c81b9c0110e I've >> done already a first step this direction. > > Well, I have applied (start-file-process "" nil "true") with a current > buffer being already remote. This avoids the initialization of the > connection, and should show us just the commands Tramp has sent. You can > do the same, analyzing the Tramp debug buffer for entries with Tramp > level (6). [...] > Well, some room for improvements. I'll try to change the obvious > candidates. Otherwise, comments welcome. I've committed some improvements to the master branch, commit 76b3bd8cbb9a0a01941d9c1766c054960e4bfd97. You could rerun your test for new timings. Best regards, Michael.