code: def compare_functions_1v(
      func, nloop=500, xs=xs, nmxs=nmxs, xl=xl, nmxl=nmxl
  ):
      funcname = func.__name__
      print("-" * 50)
      print("%s on small arrays" % funcname)
      module, data = "numpy.ma", "nmxs"
      timer(
          "%(module)s.%(funcname)s(%(data)s)" % locals(),
          v="%11s" % module,
          nloop=nloop,
      )
  
      print("%s on large arrays" % funcname)
      module, data = "numpy.ma", "nmxl"
      timer(
          "%(module)s.%(funcname)s(%(data)s)" % locals(),
          v="%11s" % module,
          nloop=nloop,
      )
      return
  
imports: from __future__ import division, print_function
  import timeit
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: compare_functions_1v(func, nloop, xs, nmxs, xl, nmxl) without return types