make performance logger thread safe
make performance logger thread safe