Usually I use shell command time. My purpose is to test if data is small, medium, large or very large set, how much time and memory usage will be.
time
Any t
The easy way to quickly test any function is to use this syntax : %timeit my_code
%timeit my_code
For instance :
%timeit a = 1 13.4 ns ± 0.781 ns per loop (mean ± std. dev. of 7 runs, 100000000 loops each)