def save(self, output_descriptor): """ Save contents of this instance into a (compressed) JSON file. Args: output_descriptor (str): A file name. """ IOUtils.write_json(output_descriptor, {'data': self.__benchmarks})
def action_summary(self): IOUtils.write_json(self.__args['output'], self.__data.summary(), check_extension=False)