Made perf stat runner in python as an experiment