perf modified to let non-performance related events flow through.