code: def func_runtime(callback):
      
      now = time.time()
      print('%s - start: %f' % (callback, now))
      callback()
      now = time.time() - now
      print('%s - spent: %f Second' % (callback, now))
docs: 测试函数执行的时间
      :param callback: 函数
      :return: 时间