Python pytest has a great plugin benchmark (pytest-benchmark · PyPI) which enables a very easy setting up of a comparative benchmark of functions where the framework runs each function many times for many different data input and outputs a table of results to the console.