Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 295 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 295 Bytes

pythonSpeedTesting

Testing python code speed

I am using the timeit library because

  • easy formatting
  • averages over many runs to minimise impact of
    • os scheduling
    • disk flushing
  • disables garbage collection to prevent it running during the test
  • picks best clock for the system