Benchmark port to Python.