From dbae939808c4a1a83d651018eb45f2194296de91 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 19 Jul 2019 10:42:38 -0400 Subject: [PATCH] claim search performance test --- lbry/scripts/claim_search_performance.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lbry/scripts/claim_search_performance.py b/lbry/scripts/claim_search_performance.py index ba5fefa75..b6ff1950f 100644 --- a/lbry/scripts/claim_search_performance.py +++ b/lbry/scripts/claim_search_performance.py @@ -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: