Thomas Dalton wrote:
> 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%.

Also recursive functions are counted multiple times towards the total,
so they're wrong by a factor proportional to the stack depth. This can
give figures of over 100% for Parser::braceSubstitution() alone.

-- Tim Starling


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to