add perfLog to master/sumWorker/sqrtWorker