code: def main():
      parser = argparse.ArgumentParser(description=__doc__)
      parser.add_argument(
          "--runfiles_path",
          type=str,
          default=None,
          help="Set the runfiles path to find DeepMind Lab data",
      )
  
      args = parser.parse_args()
      if args.runfiles_path:
          deepmind_lab.set_runfiles_path(args.runfiles_path)
  
      # Test for 1 minute of simulation time at fixed in-game frame rate.
      length = 3600
      fps = 60
  
      # Benchmark at each of the following levels at the specified resolutions and
      # observation specs.
      for level_script in [
          "nav_maze_static_01",
          "lt_space_bounce_hard",
      ]:
          for width, height in [(84, 84), (160, 120), (320, 240)]:
              for observation_spec in ["RGB", "RGBD"]:
                  run(
                      length,
                      width,
                      height,
                      fps,
                      level_script,
                      observation_spec,
                  )
  
file_path: lab/python/tests/benchmark.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import random
  import time
  import numpy
  import six
  import deepmind_lab
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types