Anomie added a subscriber: Anomie.
Anomie added a project: Wikidata.
Anomie added a comment.

That's the test for T47684: getExpandedArguments should not count toward the 
10-second Lua execution limit <https://phabricator.wikimedia.org/T47684>. It 
sets up a dummy parser tag with a callback that busy-loops for 500 
milliseconds. Then it evaluates wikitext 
`{{#invoke:TestArgumentParsingTime|f2|<scribuntodelay/>}}`, where the called 
function doesn't reference the passed argument (it does do a recursive 
preprocess), and tests the elapsed CPU-time-in-Lua as measured by the 
luasandbox extension. The parse should take only a few milliseconds in Lua 
(locally it takes about 2.3ms), and the threshold for failing the test is 250 
milliseconds.

So if something is sometimes making that take almost 700 milliseconds, it's 
probably worth trying to figure out what that is. I haven't ever seen this 
failure in Scribunto's own test runs, so I'm far from convinced this has to do 
with Scribunto rather than something in Wikidata.


TASK DETAIL
  https://phabricator.wikimedia.org/T111075

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Anomie
Cc: Anomie, aude, Aklapper, Wikidata-bugs, Dinoguy1000, MrStradivarius, 
Jackmcbarn, Malyacko



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to