This commit is contained in:
parent
f00f87471d
commit
45afb935d4
@ -277,6 +277,11 @@ def run_benchmark(
|
|||||||
print(
|
print(
|
||||||
f"{len(results)} requests completed: {total_successful_uploads} successfully uploaded and {total_answered} answered")
|
f"{len(results)} requests completed: {total_successful_uploads} successfully uploaded and {total_answered} answered")
|
||||||
|
|
||||||
|
total_runtime = results[max(results.keys())].upload_finished - results[min(results.keys())].upload_started
|
||||||
|
|
||||||
|
print(f"Test total runtime was {total_runtime} seconds")
|
||||||
|
print("HTTP Request/sec:", len(results) / total_runtime)
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user