class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: Tests the running time of the package with and without file writing. 
docstr_tok: ["Tests","the","running","time","of","the","package","with","and","without","file","writing","."]
code: def test_pdoo_times(self):
      """Tests the running time of the package with and without file writing."""
      self.report("PDOO running times.")
      for prob in self.problems:
          start_clock = time.clock()
          start_real_time = time.time()
          _, _, _ = oper_utils.pdoo_maximise(
              prob.obj, prob.bounds, self.max_evals
          )
          clock_time = time.clock() - start_clock
          real_time = time.time() - start_real_time
          self.report(
              "clk=%0.4f, real=%0.4f, #evals=%d"
              % (clock_time, real_time, self.max_evals),
              "test_result",
          )
  
imports: from __future__ import absolute_import
  import os
  import time
  from argparse import Namespace
  import numpy
  from .ancillary_utils import is_nondecreasing
  from .base_test_class import BaseTestClass, execute_tests
  from .euclidean_synthetic_functions import get_mf_hartmann_function_data
  from .None import oper_utils
label_desc: Use image node_id 10 for calling the OptimisersTestCase obj's underlying member method code with example usage: obj.test_pdoo_times() without return types