code: def timer(func, label, *args):
      iterations = 5000
      starttime = time.time()
      for x in range(iterations):
          func(*args)
          if time.time() - starttime > 10:
              print(
                  "{}: breaking at {} iterations, {:.6f} per iteration".format(
                      label,
                      x + 1,
                      (time.time() - starttime) / (x + 1.0),
                  )
              )
              break
      if x == iterations - 1:
          endtime = time.time()
          print(
              "{}: {:.4f} s  {:.6f} per iteration".format(
                  label,
                  endtime - starttime,
                  (endtime - starttime) / (x + 1.0),
              )
          )
  
imports: import time
  from PIL import PyAccess
  from .helper import hopper
label_desc: Use image node_id 3 for calling a global function with example usage: timer(func, label) without return types