> On Apr 11, 2016, at 7:04 AM, Thomas Güttler <guettl...@thomas-guettler.de> > wrote: > > From > https://pythonhosted.org/setuptools/setuptools.html#setting-the-zip-safe-flag > > > For maximum performance, Python packages are best installed as zip files. > > What kind of performance improvement is this? > > Is this improvement really measurable? > > What improvement numbers do you get? >
I’m not sure if that is still the case with modern SSDs, but I think the idea is that by putting everything inside of zip files you reduce the number of stat calls that Python needs to do (they flip side of this is that pkg_resources is incredibly slow because it needs to issue a ton of stat calls on import). ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig