Martin Apel <[email protected]> writes:

> Hi there,

Hi Martin,

> I tried to investigate the cause for this and found out, that most of
> the time is spent inside tramp-accept-process-output as can be seen
> from the following profiling output for a single file open:
>
> tramp-smb-file-name-handler                 330 13.859976999 0.0419999303
> tramp-smb-handle-file-local-copy            1 6.914245     6.914245
> tramp-smb-send-command                      1 6.91259      6.91259
> tramp-smb-wait-for-output                   1 6.912537     6.912537
> tramp-accept-process-output                 7 6.9121980000 0.9874568571
> accept-process-output                       7 0.903607     0.1290867142

Wow. The major functionality of `tramp-accept-process-output' is to call
`accept-process-output', they shall have similar timings.

What happens, if you remove the `with-timeout' form around
`accept-process-output'?

> Martin

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to