File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import asyncio
4
4
5
+ import pytest
5
6
from pytest_codspeed import BenchmarkFixture
6
7
7
8
from aiohttp import hdrs , web
@@ -178,6 +179,7 @@ def _run() -> None:
178
179
loop .run_until_complete (run_client_benchmark ())
179
180
180
181
182
+ @pytest .mark .usefixtures ("parametrize_zlib_backend" )
181
183
def test_get_request_with_251308_compressed_chunked_payload (
182
184
loop : asyncio .AbstractEventLoop ,
183
185
aiohttp_client : AiohttpClient ,
Original file line number Diff line number Diff line change 3
3
import asyncio
4
4
from typing import Union
5
5
6
+ import pytest
6
7
from pytest_codspeed import BenchmarkFixture
7
8
8
9
from aiohttp ._websocket .helpers import MSG_SIZE , PACK_LEN3
@@ -117,6 +118,7 @@ def _run() -> None:
117
118
loop .run_until_complete (_send_one_hundred_websocket_text_messages ())
118
119
119
120
121
+ @pytest .mark .usefixtures ("parametrize_zlib_backend" )
120
122
def test_send_one_hundred_websocket_compressed_messages (
121
123
loop : asyncio .AbstractEventLoop , benchmark : BenchmarkFixture
122
124
) -> None :
You can’t perform that action at this time.
0 commit comments