Separated perf on/off calls from trace on/off calls in app scripts.