Forum:SMW is way faster than info pages

To give you an idea of what makes things slow, if you use your browser to look at the source for a page (firefox View.page source- IE has the same thing), then search for "NewPP" you will find some interesting numbers that measure how hard a page makes the wikia servers work. The last one is most important: expensive functions. The maximum value is 500 but oftentimes the engine will let you go 50 over.

I have been noticing that some of our high value articles have been slow, and so I took a look at reducing these numbers. Some preliminary results below. SMW children is the new showfacts children templates that will replace showinfo children. On articles with large numbers of children, this consumes a lot of CPU time. Also as can be seen, the Descendants calculation was also consuming a great deal of processing time, so I converted it to use only SMW functions.

Here is a breakdown of where all the processing is going- counting backwards.

Starred items are permanent savings, and these costs were fairly constant whether the article was big or small. - ~  Ph l o x  00:07, 13 June 2009 (UTC)