| Addshore added a comment. |
After some experimenting I managed to add a bunch of keys to the ignore which are probably fine to ignore:
$ignore = array( 'language', 'site', 'type', 'hash', 'id', 'rank', 'entity-type', 'datatype', 'snaktype', 'qualifiers-order', 'property', );
For Q56596767 on wikidata.org running collectValues:
Before:
Total execution time: 1.4714670181274
Number of strings: 30426
After:
Total execution time: 0.12493205070496
Number of strings: 4673I have no doubt that this will have knock on effects in Abusefilter, probably reducing the run time by ~60%?
/me should file some tickets.....
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Addshore, Krinkle, Aklapper, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, Volker_E, Wikidata-bugs, aude, GWicke, Dinoguy1000, Mbch331, Jay8g
Cc: Addshore, Krinkle, Aklapper, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, Volker_E, Wikidata-bugs, aude, GWicke, Dinoguy1000, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
