code: def test_task_submission(benchmark, num_tasks):
      num_cpus = 16
      ray.init(
          num_cpus=num_cpus,
          object_store_memory=150 * 1024 * 1024,
          ignore_reinit_error=True,
      )
      # warm up the plasma store
      warmup()
      benchmark(benchmark_task_submission, num_tasks)
      ray.shutdown()
  
file_path: ray/python/ray/tests/perf_integration_tests/test_perf_integration.py
imports: import numpy
  import pytest
  import ray
  from ray.tests.conftest import _ray_start_cluster
label_desc: Use image node_id 4 for calling a global function with example usage: test_task_submission(benchmark, num_tasks) without return types