Why site-packages?

Ian Kelly ian.g.kelly at gmail.com
Wed Jul 4 01:06:10 CEST 2012


On Tue, Jul 3, 2012 at 4:38 PM, Dan Stromberg <drsalists at gmail.com> wrote:
>> Right now this all seems highly speculative to me.  I think it might
>> be informative, either to you or to me, to do an actual timing test.
>> Why don't you try setting up two side-by-side installations of Python,
>> one with all the site-packages cruft, and one trimmed down to only
>> what you think should be in there, and see if you can measure a real
>> difference in startup time?
>
> In the original stackoverflow thread I mentioned, there's a speed
> comparison.

That's just comparing using -S against not using -S, though.  As I
understand it, you don't want to use -S; you still want to import site
but just want to pare down your site-packages for a speedup.



More information about the Python-list mailing list