claim search performance test

This commit is contained in:
Jack Robison 2019-07-19 10:42:38 -04:00
parent c2dcacb0de
commit dbae939808
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -34,6 +34,10 @@ RARE_ANY_TAGS = [
'ufos',
]
CITY_FIX = [
'city fix'
]
MATURE_TAGS = [
'porn',
'nsfw',
@ -57,10 +61,10 @@ ORDER_BY = [
def get_args(limit=20):
args = []
any_tags_combinations = [DEFAULT_ANY_TAGS, COMMON_AND_RARE, RARE_ANY_TAGS, []]
any_tags_combinations = [DEFAULT_ANY_TAGS, COMMON_AND_RARE, RARE_ANY_TAGS, CITY_FIX, []]
not_tags_combinations = [MATURE_TAGS, []]
for no_totals in [True]:
for offset in [0, 100, 2000]:
for offset in [0, 100]:
for any_tags in any_tags_combinations:
for not_tags in not_tags_combinations:
for order_by in ORDER_BY: