Skip to content

Commit b5d84d8

Browse files
Disable compression in the asyncio_websockets benchmark (#526)
1 parent c3550b5 commit b5d84d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyperformance/data-files/benchmarks/bm_asyncio_websockets/run_benchmark.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ async def main() -> None:
3535
global stop
3636
t0 = pyperf.perf_counter()
3737
stop = asyncio.Event()
38-
async with serve(handler, "", 8001):
39-
async with connect("ws://localhost:8001") as ws:
38+
async with serve(handler, "", 8001, compression=None):
39+
async with connect("ws://localhost:8001", compression=None) as ws:
4040
await asyncio.gather(*[send(ws) for _ in range(100)])
4141
await stop.wait()
4242
return pyperf.perf_counter() - t0

0 commit comments

Comments
 (0)