add perf log (configurable)