I understand the concept of what timeit does but I am not sure how to implement it in my code.
timeit
How can I compare two functions, say insertion_sort
insertion_sort
This works great:
python -m timeit -c "$(cat file_name.py)"