https://bugzilla.wikimedia.org/show_bug.cgi?id=52865
Brad Jorsch <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #11 from Brad Jorsch <[email protected]> --- Actually, it doesn't seem to be templates at all. I imported مصر into my local wiki, and it renders fine normally but if I change languages/messages/MessagesEn.php to set $linkPrefixExtension = true it takes a very long time. Profiling reports that the Parser::replaceInternalLinks2-prefixhandling block is called 4706 times for a total of 106165.145 microseconds out of 132266.461 total (which includes 15696.702 for the profiling itself). The first few lines (anything showing over 1000ms): Profiling data Name Calls Total Each % Mem -total 1 132266.461 132266.461 100.000% 323763776 ( 132266.461 - 132266.461) [0] MediaWiki::main 1 115995.312 115995.312 87.698% 13945556 ( 115995.312 - 115995.312) [268332] MediaWiki::performRequest 1 115837.514 115837.514 87.579% 12745446 ( 115837.514 - 115837.514) [268222] MediaWiki::performAction 1 115823.683 115823.683 87.568% 12697952 ( 115823.683 - 115823.683) [268206] EditPage::edit 1 115808.503 115808.503 87.557% 12649757 ( 115808.503 - 115808.503) [268201] EditPage::edit-business-end 1 115766.022 115766.022 87.525% 11256750 ( 115766.022 - 115766.022) [268145] EditPage::internalAttemptSave 1 115747.799 115747.799 87.511% 11182295 ( 115747.799 - 115747.799) [268129] Parser::parse-WikitextContent::getParserOutput 2 115167.148 57583.574 87.072% 13425467 ( 56434.734 - 58732.414) [266237] Parser::parse 2 115167.075 57583.537 87.072% 13425420 ( 56434.693 - 58732.382) [266239] Parser::internalParse 148 115002.805 777.046 86.948% 14639358 ( -0.996 - 58070.885) [274670] Parser::replaceInternalLinks2 162 108406.350 669.175 81.961% 6822086 ( -0.523 - 53980.376) [113950] Parser::replaceInternalLinks2-prefixhandling 4706 106165.145 22.560 80.266% 33810552 ( 0.007 - 53.399) [0] WikiPage::doEditContent 1 59102.591 59102.591 44.684% 1548990 ( 59102.591 - 59102.591) [130799] hook: EditFilterMerged 1 56601.482 56601.482 42.794% 8906536 ( 56601.482 - 56601.482) [137251] SpamBlacklistHooks::filterMerged 1 56596.141 56596.141 42.789% 8842893 ( 56596.141 - 56596.141) [137245] wfSpamBlacklistFilter 1 56595.163 56595.163 42.789% 8874261 ( 56595.163 - 56595.163) [137244] PPFrame_DOM::expand 70146 33645.483 0.480 25.438% 191341780 ( -16.119 - 3612.935) [670872] Parser::braceSubstitution 3494 25838.918 7.395 19.536% 57848685 ( -11.287 - 1489.913) [562083] -overhead-total 268417 15696.702 0.058 11.867% 306957152 ( 15696.702 - 15696.702) [268417] Parser::braceSubstitution-pfunc 3318 7621.249 2.297 5.762% 38034801 ( -3.205 - 1487.452) [171241] Parser::callParserFunction 2120 7528.970 3.551 5.692% 23275438 ( -3.172 - 1487.474) [169121] Parser::replaceVariables 2420 6139.509 2.537 4.642% 12914606 ( -0.106 - 3618.133) [140412] Parser::callParserFunction-pfunc-invoke 46 4144.569 90.099 3.133% 4856509 ( 0.535 - 1487.506) [76583] ScribuntoHooks::invokeHook 46 4143.728 90.081 3.133% 4960986 ( 0.536 - 1487.503) [76537] Parser::argSubstitution 16214 3890.259 0.240 2.941% 19615137 ( -2.044 - 1471.886) [75288] Parser::callParserFunction-pfunc-switch 242 1752.245 7.241 1.325% 11973858 ( 0.036 - 349.141) [28369] -overhead-internal 268417 1238.141 0.005 0.936% 85896720 ( 0.003 - 7.089) [0] Parser::callParserFunction-pfunc-if 1556 1011.190 0.650 0.765% 3275860 ( -3.145 - 293.022) [52459] -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
