Moved performance calculator into directive
Moved performance calculator into directive