Revert "Removed PerformanceLogger, use external profiler"

This reverts commit c74ba59961941c994ae6f93c7ad29cc97e5e6e8e.
Revert "Finished the PerformanceLogger"

This reverts commit ac544f0f41d57e0a6360ff5dc8bdfa0972dfc21c.
Revert "WIP of the performance logger"

This reverts commit c09555e6692861418c85596565b762a31797311b.