code: def time_func(funcname, name, params, ftype):
      TEST_N = 100
      TEST_ITERATIONS = 10000
      if params == 1:
          run = "[{}(x) for x, y in data]".format(funcname)
      elif params == 2:
          run = "[{}(x, y) for x, y, z in data]".format(funcname)
  
      if ftype == "python":
          path = "_jellyfish"
      elif ftype == "c":
          path = "cjellyfish"
      elif ftype == "rust":
          path = "_rustyfish"
  
      return (
          timeit.timeit(
              run,
              setup="""from __main__ import _load_n
  from jellyfish.{} import {}
  data = _load_n('{}', {})
  """.format(
                  path, funcname, name, TEST_N
              ),
              number=TEST_ITERATIONS,
          )
          / (TEST_N * TEST_ITERATIONS)
      )
  
imports: import sys
  import timeit
  import csv
label_desc: Use image node_id 3 for calling a global function with example usage: time_func(funcname, name, params, ftype) and returns: unknown