News for hackers. Stuff that matters.
Re:Hello World execution time by ronnix on Sunday June 26, 2011 @06:12PM (#2699266)
The Python interpreter does an implicit "import site" on initialization.

You can disable it using the -S option if/when you care about startup time.

Here are some numbers on my MacBook Pro:

$ ./run.sh bash hello.sh

median 0.002

$ ./run.sh python hello.py

median 0.016

$ ./run.sh python -S hello.py

median 0.008

There are no comments on this comment yet.