3 ms·Just use the timeit module, or the %timeit iPython magic command.by orf 7y agoJust use the timeit module, or the %timeit iPython magic command.