class_docstr: Benchmark the global optimizers using the go_benchmark_functions
  suite
class_docstr_tok: ["Benchmark","the","global","optimizers","using","the","go_benchmark_functions","suite"]
code: def __init__(self):
      self.enabled = is_xslow()
      try:
          self.numtrials = int(
              os.environ["SCIPY_GLOBAL_BENCH_NUMTRIALS"]
          )
      except (KeyError, ValueError):
          self.numtrials = 100
  
      self.dump_fn = os.path.join(
          os.path.dirname(__file__),
          "..",
          "global-bench-results.json",
      )
      self.results = {}
  
imports: import os
  import time
  import inspect
  import json
  import traceback
  from collections import defaultdict
  import numpy
  from .None import test_functions
  from .None import go_benchmark_functions
  from .common import Benchmark, is_xslow, safe_import
  from .lsq_problems import extract_lsq_problems
label_desc: Use image node_id 1 to create a new BenchGlobal object from inherited base classes: Benchmark with example: obj = BenchGlobal()