**Investigation:**
* We want to know why Scribunto_LuaSandboxCallback::addStatementUsage is taking considerably longer lately. (6h timebox)
* We want to see if we can find ways to continuously monitor this to see changes more immediately in the future. (potentially separate task later)
**Original report:**
The computing times increased drastically by about 100 %, mainly produced by a drastic increase of the computing time of the Lua function addStatementUsage (increase of about 500 %).
From the Lua profile of https://de.wikivoyage.org/wiki/Halle_(Saale) (see html source code):
```
Lua Profile:
Scribunto_LuaSandboxCallback::addStatementUsage 4540 ms 55.0%
Scribunto_LuaSandboxCallback::callParserFunction 1640 ms 19.9%
Scribunto_LuaSandboxCallback::getEntity 540 ms 6.5%
Scribunto_LuaSandboxCallback::addSiteLinksUsage 420 ms 5.1%
Scribunto_LuaSandboxCallback::getEntityStatements 320 ms 3.9%
init <Modul:CountryData/Geography> 100 ms 1.2%
recursiveClone <mwInit.lua:41> 100 ms 1.2%
? 100 ms 1.2%
Scribunto_LuaSandboxCallback::gsub 80 ms 1.0%
init <Modul:VCard/Subtypes> 80 ms 1.0%
[others] 340 ms 4.1%
```
Maybe it is the same like T236485.