Added new debug info to 'performance debug' module + refactoring of module's code