| ▲ | dekhn 4 days ago | |||||||
Exactly this. The time to start python is roughly a function of timeof(stat) * numberof(stat calls) and on a network system that can often be magnitudes larger than a local filesystem. | ||||||||
| ▲ | zahlman 4 days ago | parent [-] | |||||||
I do wonder, on a local filesystem, how much of the time is statting paths vs. reading the file contents vs. unmarshaling code objects. (Top-level code also runs when a module is imported, but the cost of that is of course highly module-dependent.) | ||||||||
| ||||||||