[Mediawiki-l] Profiling information - how many percent make 100?
Thomas Dalton
thomas.dalton at gmail.com
Tue Apr 20 13:00:34 UTC 2010
I don't know much about profiling, but I would guess that when one
method calls another the time spent in the 2nd method is credited to
both methods. That double counting gives totals of more than 100%.
On 20 April 2010 13:51, <Sam.Sexton at thomsonreuters.com> wrote:
> Hi - I've just implemented profiling on 1.13.0 to see where the time
> goes and I'm just a little confused:
>
>
>
> Here's a clip of what profileinfo.php shows me:
>
>
>
> -total 100%
>
> MediaWiki::initialize [+] 62.14%
>
> Parser::parse [+] 60.5%
>
> MediaWiki::performAction 60.35%
>
> Article::view 58.87%
>
> Parser::internalParse 46.76%
>
> Parser::replaceVariables 30.62%
>
> Parser::braceSubstitution [+] 18.86%
>
> MediaWiki::finalCleanup 16.74%
>
> OutputPage::output 16.05%
>
> Output-skin 15.96%
>
> SkinTemplate::outputPage [+] 15.95%
>
> AutoLoader::autoload 15.71%
>
>
>
> Now, perhaps I'm out of touch and this is a quantum mechanics matter
> that's beyond me, but in the olden days, there were only 100 percentage
> points - but the first two entries alone claim to be taking >120% of
> the time - so I'd be grateful if this could be explained to me, please!
>
>
>
> Thanks,
>
>
>
> /Sam
>
>
>
> Sam Sexton
> Provisioning Team Leader
>
> Thomson Reuters
>
> sam.sexton at thomsonreuters.com
> thomsonreuters.com
>
>
>
> This email was sent to you by Thomson Reuters, the global news and information company.
> Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
More information about the MediaWiki-l
mailing list