use python for benchmarking