code: def parse_script_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--num-pgs", type=int, default=-1)
      parser.add_argument("--num-bundles", type=int, default=-1)
      parser.add_argument("--num-pending_pgs", type=int, default=0)
      parser.add_argument("--local", action="store_true")
      return parser.parse_known_args()
  
file_path: ray/release/nightly_tests/placement_group_tests/placement_group_performance_test.py
imports: import argparse
  import json
  import os
  import ray
  from ray._private.ray_microbenchmark_helpers import timeit
label_desc: Use image node_id 3 for calling a global function with example usage: parse_script_args() and returns: parser