code: def _test_generator(n, func, args):
      from statistics import stdev, fmean as mean
      from time import perf_counter
  
      t0 = perf_counter()
      data = [func(*args) for i in _repeat(None, n)]
      t1 = perf_counter()
  
      xbar = mean(data)
      sigma = stdev(data, xbar)
      low = min(data)
      high = max(data)
  
      print(f"{t1 - t0:.3f} sec, {n} times {func.__name__}")
      print(
          "avg %g, stddev %g, min %g, max %g\n"
          % (xbar, sigma, low, high)
      )
  
imports: from warnings import warn
  from math import log, exp, pi, e, ceil
  from math import sqrt, acos, cos, sin
  from math import tau, floor, isfinite
  from os import urandom
  from _collections_abc import Set, Sequence
  from operator import index
  from itertools import accumulate, repeat
  from bisect import bisect
  import os
  import _random
label_desc: Use image node_id 1 for calling a global function with example usage: _test_generator(n, func, args) without return types