code: def benchmark_task_submission(num_tasks):
      total_tasks = 100000
      for _ in range(total_tasks // num_tasks):
          ray.get([dummy_task.remote(i) for i in range(num_tasks)])
  
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 2 for calling a global function with example usage: benchmark_task_submission(num_tasks) without return types