code: def _do_time(func, n_iter=10, *args, **kwargs):
      times = []
      for _ in range(n_iter):
          start = time.time()
          func(*args, **kwargs)
          times.append(time.time() - start)
  
      times = np.asarray(times)
      print(
          "Completed %i iterations (avg=%.6f, min=%.6f, max=%.6f)"
          % (n_iter, times.mean(), times.min(), times.max())
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: _do_time(func, n_iter) without return types