def _execute_performance(self, naarad_obj):
naarad_obj.analyze(self._logs_dir, self._output_dir)<EOL>if ('<STR_LIT>' in [tuple_[<NUM_LIT:1>] for tuple_ in iter_modules()]) and len(self.configs) > <NUM_LIT:1>:<EOL><INDENT>prevConfig = self.configs[<NUM_LIT:0>]<EOL>if naarad_obj._output_directory is None:<EOL><INDENT>naarad_obj._output_directory = self._output_dir<EOL><DEDENT>for curConfig in self.configs[<NUM_LIT:1>:]:<EOL><INDENT>if not curConfig.naarad_id is None:<EOL><INDENT>naarad_obj.diff(curConfig.naarad_id, prevConfig.naarad_id)<EOL>prevConfig = curConfig<EOL><DEDENT><DEDENT><DEDENT>tests = [test for test in self.tests if not isinstance(test, list)] +[individual_test for test in self.tests if isinstance(test, list) for individual_test in test]<EOL>for test in tests:<EOL><INDENT>if test.naarad_id is not None:<EOL><INDENT>test.naarad_stats = naarad_obj.get_stats_data(test.naarad_id)<EOL>test.sla_objs = self._convert_naarad_slas_to_list(naarad_obj.get_sla_data(test.naarad_id))<EOL><DEDENT><DEDENT>
Executes naarad

:param naarad_obj:
:return: