Skip to content

Commit 0d3a1f4

Browse files
bench
1 parent 495467e commit 0d3a1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/benchmark/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from matplotlib.axes import Axes # type: ignore[import-untyped]
1313

1414
import httpcore
15-
from httpcore import AsyncioBackend, AutoBackend
1615

1716
PORT = 1234
1817
URL = f"http://localhost:{PORT}/req"
@@ -21,7 +20,8 @@
2120
CONCURRENCY = 20
2221
POOL_LIMIT = 100
2322
PROFILE = False
24-
AutoBackend.set_default_backend(AsyncioBackend)
23+
httpcore.AutoBackend.set_default_backend(httpcore.AsyncioBackend)
24+
# httpcore.AutoBackend.set_default_backend(httpcore.AnyIOBackend)
2525

2626

2727
def duration(start: float) -> int:

0 commit comments

Comments
 (0)