Full threadjparise·The timeit module (http://docs.python.org/library/timeit.html) is an invaluable tool for taking and comparing performance measurements.View on HN