Update perf.rb script