code: def benchmark_table_100B():
      times = {"num examples": SPEED_TEST_N_EXAMPLES}
      functions = (
          get_first_row,
          get_last_row,
          get_batch_of_1024_rows,
          get_batch_of_1024_random_rows,
      )
      print("generating dataset")
      dataset = generate_100B_dataset(
          num_examples=SPEED_TEST_N_EXAMPLES,
          chunk_size=SPEED_TEST_CHUNK_SIZE,
      )
      print("Functions")
      for func in functions:
          print(func.__name__)
          times[func.__name__] = func(dataset)
  
      with open(RESULTS_FILE_PATH, "wb") as f:
          f.write(json.dumps(times).encode("utf-8"))
  
file_path: datasets/benchmarks/benchmark_getitem_100B.py
imports: import json
  import os
  from dataclasses import dataclass
  import numpy
  import pyarrow
  import datasets
  from utils import get_duration
label_desc: Use image node_id 6 for calling a global function with example usage: benchmark_table_100B() without return types