script to do perf