Skip to content

Commit

Permalink
update benchmarking script
Browse files Browse the repository at this point in the history
Signed-off-by: Praneeth Bedapudi <[email protected]>
  • Loading branch information
bedapudi6788 committed Oct 30, 2024
1 parent 015ceee commit c73ab7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python benchmark.py --target_rps_per_connection 100 --parallel_connections 10 --duration 60 --warmup 1 --server_url http://10.18.9.60:8080 --input_file /Users/praneeth.bedapudi/RINGCENTRAL/marauders-map/ml_serving/nlu/semantic_score_serving/example.py --results_file a.json --request_timeout 0.6
1 change: 1 addition & 0 deletions testing/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ def print_results(results):

print("\n" + "="*80)


def main():
parser = argparse.ArgumentParser(description='API Benchmark Tool')
parser.add_argument('--server_url', type=str, required=True, help='Server URL')
Expand Down

0 comments on commit c73ab7a

Please sign in to comment.