code: def run_benchmark(packages):
      results = {}
      for k, v in OpArgMngr.args.items():
          result = {}
          for name, package in packages.items():
              print(f"{name}.{k} running...")
              op = get_op(package["module"], v["funcname"])
              args = [package["data"](arg) for arg in v["args"]]
              kwargs = {
                  k: package["data"](v)
                  for (k, v) in v["kwargs"].items()
              }
              benchmark = benchmark_helper(op, *args, **kwargs)
              result[name] = benchmark
          results[k] = result
      return results
  
file_path: mxnet/benchmark/python/ffi/benchmark_ffi.py
imports: import timeit
  import itertools
  import argparse
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: run_benchmark(packages) and returns: results