Fixed perf-logger based on code review