Measure processing time with Python’s timeit module. https://from-locals.com/python-timeit-measure/