[Python-Dev] Empty directory is a namespace? (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sun Jun 24 21:51:20 CEST 2012


Le dimanche 24 juin 2012 à 15:51 -0400, PJ Eby a écrit :

I don't really want to spread the idea that they're faster, either: the exact same benchmark can probably be made to turn out differently if you have, say, a hundred unzipped eggs on sys.path after the benchmark directory.

Yes, the case where sys.path is long (thanks to setuptools) is precisely what I was thinking about.

A more realistic benchmark would import more than one module, though...

Indeed.

That's what I meant by "lost in the noise": the outcome of the benchmark depends on which of many potentially-plausible setups and applications you choose to use as your basis for measurement,

Should we forget to care about performance, just because different setups might yield different results? That's a rather unconstructive attitude.

Regards

Antoine.



More information about the Python-Dev mailing list