added support for performance logging