Docunext


PHP XSLT Profiling

May 29th, 2008

The guys over at LIIP have patched the xsl extension to provide profiling capabilities. Its not too detailed, but it provide the most important information about what templates are being called, and how long they are taking to be processed:

number               match                name      mode  Calls Tot 100
us Avg    0                    /                                    1    202    202    1
thematic-button                3     30     10                         Total                                4    232

It may surprise you what comes up! My dynamic CSS scripts were taking almost a full second to process because I was including a lot of nodes in the tree that wasn't needed.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022