Run profiler

def run_profiler(self):
        """Run profiler"""
        if self.main.editor.save():
            self.switch_to_plugin()
            self.analyze(self.main.editor.get_current_filename())