Python benchmarking