code: def test_transfer_performance(
      benchmark, ray_start_cluster_head, object_number, data_size
  ):
      cluster = ray_start_cluster_head
      cluster.add_node(
          resources={"my_resource": 1}, object_store_memory=10**9
      )
  
      @ray.remote(resources={"my_resource": 1})
      class ObjectActor:
          def f(self, object_refs):
              ray.get(object_refs)
  
      # setup remote actor
      actor = ObjectActor.remote()
      actor.f.remote([])
  
      data = bytes(1) * data_size
      object_refs = [ray.put(data) for _ in range(object_number)]
  
      benchmark(benchmark_transfer_object, actor, object_refs)
  
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 8 for calling a global function with example usage: test_transfer_performance(benchmark, ray_start_cluster_head, object_number, data_size) without return types