code: def benchmark_all(name, serializers, data, num=30):
      logger.info("Benchmarking {} ...".format(name))
      results = []
      for serializer_name, dumps, loads in serializers:
          results.append(
              (
                  serializer_name,
                  benchmark_serializer(dumps, loads, data, num=num),
              )
          )
      display_results(name, results)
  
file_path: tensorpack/tests/benchmark-serializer.py
imports: import numpy
  import argparse
  import pyarrow
  from tabulate import tabulate
  import operator
  from tensorpack.utils import logger
  from tensorpack.utils.serialize import MsgpackSerializer, PyarrowSerializer, PickleSerializer, ForkingPickler
  from tensorpack.utils.timer import Timer
label_desc: Use image node_id 3 for calling a global function with example usage: benchmark_all(name, serializers, data, num) without return types