Do not redo repairs
This commit is contained in:
2
bench.py
2
bench.py
@@ -14,7 +14,7 @@ async def extract_links(url):
|
||||
|
||||
async def benchmark(url):
|
||||
# This will still block, because subprocess.run is not async
|
||||
subprocess.run(['hey', '-n', '10000', '-c', '100', url])
|
||||
subprocess.run(['hey', '-n', '100000', '-c', '100', url])
|
||||
|
||||
url = 'http://localhost:9999/http/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user