Add some perf timing to processing