code: def save_results(final_result, default_name):
      test_output_json = os.environ.get(
          "TEST_OUTPUT_JSON",
          "/tmp/single_deployment_1k_noop_replica.json",
      )
      with open(test_output_json, "wt") as f:
          json.dump(final_result, f)
  
file_path: ray/release/serve_tests/workloads/single_deployment_1k_noop_replica.py
imports: import click
  import json
  import logging
  import math
  import os
  from ray import serve
  from serve_test_utils import aggregate_all_metrics, run_wrk_on_all_nodes, save_test_results, is_smoke_test
  from serve_test_cluster_utils import setup_local_single_node_cluster, setup_anyscale_cluster, NUM_CPU_PER_NODE, NUM_CONNECTIONS
  from typing import List, Optional
label_desc: Use image node_id 2 for calling a global function with example usage: save_results(final_result, default_name) without return types