diff options
Diffstat (limited to 'autogpts/autogpt/run_benchmark')
-rwxr-xr-x | autogpts/autogpt/run_benchmark | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autogpts/autogpt/run_benchmark b/autogpts/autogpt/run_benchmark new file mode 100755 index 000000000..726407941 --- /dev/null +++ b/autogpts/autogpt/run_benchmark @@ -0,0 +1,9 @@ +#!/bin/sh + +# Kill processes using port 8080 if any. +if lsof -t -i :8080; then + kill $(lsof -t -i :8080) +fi +# This is the cli entry point for the benchmarking tool. +# To run this in server mode pass in `serve` as the first argument. +poetry run agbenchmark "$@" |