Content deleted Content added
Guarapiranga (talk | contribs) →Search more than 1 column: Reply |
Guarapiranga (talk | contribs) →Search more than 1 column: moreover |
||
Line 146:
:::::::Can you pinpoint what it is? I invoke the module once if the given date parameter is a year, and twice to interpolate values for a specific date (and once again before those to verify that the country is on the table). What do you reckon needs to be done to reduce the overhead, {{u|Jts1882}}? — [[User:Guarapiranga|𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚]] [[User talk:Guarapiranga|☎]] 08:30, 3 July 2021 (UTC)
:::::::: It looks like it's invoked twice if given date parameter is a year and three times if a specific date. It's invoked once for the test and then once or twice for the output. Is the test necessary? I've removed it in the template and the output in the documentation is the same, but takes less processing time (a bit more than half). — <span style="font-family:Arial;background:#d6ffe6;border:solid 1px;border-radius:5px;box-shadow:darkcyan 0px 1px 1px;"> [[User:Jts1882|Jts1882]] |[[User talk:Jts1882| talk]] </span> 09:01, 3 July 2021 (UTC)
:::::::::I saw that a large chunk of the {{tq|transclusion expansion time}} was from {{t|density}}, so I replaced the call to {{t|convert}}, which in turn invokes a very general and flexible [[module:convert|module]], by a simple calc only for km{{sup|2}} and sqmi. {{t|Density}} is still at 77% of {{tq|transclusion expansion time}} (not sure how those pcts add up, with {{t|UN pop}} at 65%), and [[Draft:List of countries and dependencies by population density]] is still timing out Lua (it seems) at the 14th table row (Jersey). I see that 93% of the Lua time is consumed by {{mono|Scribunto_LuaSandboxCallback::get}} -- what's that? Cheers. — [[User:Guarapiranga|𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚]] [[User talk:Guarapiranga|☎]] 12:24, 3 July 2021 (UTC)
|