2011/1/6 Alex <mrzmanw...@gmail.com>

> On 1/5/2011 8:07 PM, Alex Brollo wrote:
>
> The expensive parser function count only counts the use of a few
> functions when they do a DB query, PAGESINCATEGORY, PAGESIZE, and
> #ifexist are the only ones I know of. While a page that uses a lot of
> these would likely be slow, these aren't heavily used functions, and a
> page might be slow even if it uses zero.
>
> The other 3 limits: Preprocessor node count, Post-expand include size,
> and Template argument size are probably better for a measurement of
> complexity, though I don't know what a "typical" value for these might be.
>

Thanks. I would appeciate an algoritm to evaluate those parameters together,
weighting them to have a significant, sigle "heavyness index."  of the page.
Then, removing or adding code would easily allow to mark the critical code.

Alex ("the other one") :-)
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to