code: def test_all_fields(synthetic_dataset):
      reader_throughput(
          synthetic_dataset.url,
          None,
          warmup_cycles_count=5,
          measure_cycles_count=5,
          pool_type=WorkerPoolType.THREAD,
          loaders_count=1,
          read_method=ReadMethod.PYTHON,
      )
  
file_path: petastorm/petastorm/tests/test_benchmark.py
imports: from time import sleep
  import six
  from unittest import mock
  from petastorm.benchmark.throughput import reader_throughput, _time_warmup_and_work, WorkerPoolType, ReadMethod
label_desc: Use image node_id 5 for calling a global function with example usage: test_all_fields(synthetic_dataset) without return types