code: def run(is_async):
      """Runs an entire test scenario, server and client pool, then prints run
      statistics.  The server under test can be run in `sync` or `async` modes.
  
      This example uses PerspectiveTornadoBenchmark, which wraps a task function
      and runs it over multiple clients and multiple runs."""
      queue = multiprocessing.Queue()
      start_server(queue, is_async)
  
      # Wait for the queue to clear, indicating the server is ready.
      queue.get()
      runner = PerspectiveTornadoBenchmark(session)
      runner.run()
  
file_path: perspective/python/perspective/bench/tornado/async_server.py
imports: import multiprocessing
  import asyncio
  import os
  import os.path
  import perspective
  import time
  import tornado
  import threading
  import numpy
  from bench import PerspectiveTornadoBenchmark
label_desc: Use image node_id 6 for calling a global function with example usage: run(is_async) without return types