Delay in python startup.

Cameron Simpson cs at cskk.id.au
Mon Sep 30 20:39:59 EDT 2019


On 30Sep2019 10:28, Tobiah <toby at tobiah.org> wrote:
>On 9/30/19 9:54 AM, Chris Angelico wrote:
>>On Tue, Oct 1, 2019 at 1:56 AM Tobiah <toby at tobiah.org> wrote:
>It was much faster with -S and instantaneous with -E.  I had a 
>directory
>in my PYTHONPATH that I mount with sshfs from a server.  For some reason
>that mount is very slow.  Thanks for helping me figure this out.

For the future: you can often see something this slow with an strace:

  strace python

Watch what it is doing when it stalls.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Python-list mailing list