Skip to content

Commit

Permalink
bench
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusSintonen committed Jun 16, 2024
1 parent 495467e commit 0d3a1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/benchmark/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from matplotlib.axes import Axes # type: ignore[import-untyped]

import httpcore
from httpcore import AsyncioBackend, AutoBackend

PORT = 1234
URL = f"http://localhost:{PORT}/req"
Expand All @@ -21,7 +20,8 @@
CONCURRENCY = 20
POOL_LIMIT = 100
PROFILE = False
AutoBackend.set_default_backend(AsyncioBackend)
httpcore.AutoBackend.set_default_backend(httpcore.AsyncioBackend)
# httpcore.AutoBackend.set_default_backend(httpcore.AnyIOBackend)


def duration(start: float) -> int:
Expand Down

0 comments on commit 0d3a1f4

Please sign in to comment.