Skip to content

Commit

Permalink
Adjust many url and many hosts benchmarks to reduce CI run time (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 12, 2024
1 parent 5c04558 commit ca035aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_url_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from yarl import URL

MANY_HOSTS = [f"www.domain{i}.tld" for i in range(512)]
MANY_URLS = [f"https://www.domain{i}.tld" for i in range(512)]
MANY_HOSTS = [f"www.domain{i}.tld" for i in range(256)]
MANY_URLS = [f"https://www.domain{i}.tld" for i in range(256)]
BASE_URL = URL("http://www.domain.tld")
QUERY_URL = URL("http://www.domain.tld?query=1&query=2&query=3&query=4&query=5")
URL_WITH_PATH = URL("http://www.domain.tld/req")
Expand Down

0 comments on commit ca035aa

Please sign in to comment.