未验证 提交 4c4dfeb0 编写于 作者: T TeslaZhao 提交者: GitHub

Update benchmark.py

上级 2a8410e3
......@@ -85,7 +85,6 @@ def run_http(idx, batch_size):
def multithread_http(thread, batch_size):
multi_thread_runner = MultiThreadRunner()
result = multi_thread_runner.run(run_http, thread, batch_size)
start = time.time()
result = multi_thread_runner.run(run_http, thread, batch_size)
end = time.time()
......@@ -128,7 +127,6 @@ def run_rpc(thread, batch_size):
def multithread_rpc(thraed, batch_size):
multi_thread_runner = MultiThreadRunner()
result = multi_thread_runner.run(run_rpc, thread, batch_size)
start = time.time()
result = multi_thread_runner.run(run_rpc, thread, batch_size)
end = time.time()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册