code: def bench() -> float:
      t0 = time()
      i = 0
      while True:
          a = numpy.random.random((1000, 1000))
          (a @ a.T).sum()
  
          i += 1
          t1 = time()
          if t1 - t0 > 1:
              return i / (t1 - t0)
  
file_path: distributed/continuous_integration/scripts/host_info.py
imports: from __future__ import annotations
  import numpy
  import psutil
  from dask.utils import format_bytes
  from distributed.utils import get_ip, get_ipv6, time
  from distributed.utils_test import has_ipv6
label_desc: Use image node_id 1 for calling a global function with example usage: bench() and returns: unknown