improvements to perf test