Пример #1
0
    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})
Пример #2
0
 def action_summary(self):
     IOUtils.write_json(self.__args['output'], self.__data.summary(), check_extension=False)