MediaWiki  REL1_19
Profiler.php File Reference

This file is only included if profiling is enabled. More...

Go to the source code of this file.

Classes

class  Profiler

Functions

 wfProfileIn ($functionname)
 Begin profiling of a function.
 wfProfileOut ($functionname= 'missing')
 Stop profiling of a function.

Detailed Description

This file is only included if profiling is enabled.

Definition in file Profiler.php.


Function Documentation

wfProfileIn ( functionname)

Begin profiling of a function.

Parameters:
$functionnameString: name of the function we will profile

Definition at line 14 of file Profiler.php.

References Profiler\instance().

Referenced by AjaxDispatcher\__construct(), ResourceLoader\__construct(), MappedDiff\__construct(), WordLevelDiff\__construct(), DiffFormatter\_block(), TableDiffFormatter\_changed(), Diff\_check(), _DiffEngine\_shift_boundaries(), WordLevelDiff\_split(), StubObject\_unstub(), EmailNotification\actuallyNotifyOnPageChange(), DBABagOStuff\add(), LinkCache\addLinkObj(), WatchedItem\addWatch(), OutputPage\addWikiTextTitle(), Parser\argSubstitution(), LanguageConverter\autoConvert(), LanguageConverter\autoConvertToAllVariants(), Parser\braceSubstitution(), SkinTemplate\buildContentActionUrls(), SkinTemplate\buildContentNavigationUrls(), SkinTemplate\buildNavUrls(), SkinTemplate\buildPersonalUrls(), Skin\buildSidebar(), Profiler\calculateOverhead(), MediaWiki\checkMaxLag(), Parser\clearState(), WordLevelDiff\closing(), ViewCountUpdate\collect(), FileBackendStore\concatenate(), LanguageKk\convertGrammar(), FileBackendStore\copyInternal(), FileBackendStore\createInternal(), EhcacheBagOStuff\delete(), DBABagOStuff\delete(), Block\deleteIfExpired(), FileBackendStore\deleteInternal(), _DiffEngine\diff(), _DiffEngine\diff_local(), WikiExporter\do_list_authors(), StandardTemplate\doAfterContent(), Parser\doAllQuotes(), LegacyTemplate\doBeforeContent(), Parser\doBlockLevels(), FileBackendStore\doClean(), Parser\doDoubleUnderscore(), LinksUpdate\doDumbUpdate(), WikiPage\doEdit(), WikiPage\doEditUpdates(), Parser\doHeadings(), LinksUpdate\doIncrementalUpdate(), Language\doMagicHook(), Parser\doMagicLinks(), FileBackendStore\doOperationsInternal(), FileBackendStore\doPrepare(), LinkBatch\doQuery(), IndexPager\doQuery(), WikiPage\doQuickEdit(), FileBackendStore\doSecure(), Parser\doTableStuff(), DjVuHandler\doTransform(), SearchUpdate\doUpdate(), DeferredUpdates\doUpdates(), WikiExporter\dumpFrom(), EditPage\edit(), User\edits(), Xml\elementClean(), MWTidy\execExternalTidy(), MWTidy\execInternalTidy(), LocalFileDeleteBatch\execute(), LinkBatch\executeInto(), SpecialPageFactory\executePath(), PPFrame_DOM\expand(), Article\fetchContent(), FileBackendStore\fileExists(), ResourceLoader\filter(), MediaWiki\finalCleanup(), Parser\findColonNoLinks(), Parser_LinkHooks\firstCallInit(), Parser\firstCallInit(), DiffFormatter\format(), Linker\formatComment(), FeedUtils\formatDiffRow(), Linker\formatHiddenCategories(), SpecialProtectedtitles\formatRow(), SpecialProtectedpages\formatRow(), DeletedContribsPager\formatRow(), ContribsPager\formatRow(), Linker\formatTemplates(), CoreParserFunctions\gender(), DifferenceEngine\generateDiffBody(), ChangesFeed\generateFeed(), EhcacheBagOStuff\get(), MessageBlobStore\get(), DBABagOStuff\get(), ParserCache\get(), MWMemcached\get(), AllmessagesTablePager\getAllMessages(), User\getAutomaticGroups(), User\getBlockedStatus(), Skin\getCachedNotice(), Title\getCascadeProtectionSources(), Language\getCaseMaps(), LoadBalancer\getConnection(), Article\getContent(), EditPage\getContent(), CreditsAction\getCredits(), AllmessagesTablePager\getCustomisedStatuses(), DifferenceEngine\getDiffBody(), User\getEffectiveGroups(), FileBackendStore\getFileContents(), FileBackendStore\getFileProps(), FileBackendStore\getFileSha1Base36(), FileBackendStore\getFileSize(), FileBackendStore\getFileStat(), FileBackendStore\getFileTimestamp(), CategoryViewer\getHTML(), LocalisationCache\getItem(), LoadMonitor_MySQL\getLagTimes(), WikiPage\getLastNAuthors(), BacklinkCache\getLinks(), Title\getLinkURL(), SpecialPageFactory\getList(), FileBackendStore\getLocalReference(), DjVuHandler\getMetaTree(), ResourceLoaderFileModule\getModifiedTime(), ResourceLoaderStartUpModule\getModuleRegistrations(), MessageCache\getMostUsedMessages(), Skin\getNamespaceNotice(), ContribsPager\getParentLengths(), WikiPage\getParserOutput(), EditPage\getPreviewText(), FSFile\getProps(), LoadBalancer\getReaderIndex(), Revision\getRevisionText(), Parser\getRevisionTimestamp(), FSFile\getSha1Base36(), Skin\getSiteNotice(), RequestContext\getSkin(), Skin\getSkinNames(), ProtectedTitlesPager\getStartBody(), LogPager\getStartBody(), MergeHistoryPager\getStartBody(), LocalisationCache\getSubitem(), BaseTemplate\getToolbox(), Title\getUserPermissionsErrorsInternal(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinked(), SearchHighlighter\highlightSimple(), SearchHighlighter\highlightText(), SquidUpdate\HTCPPurge(), EditPage\importFormData(), User\inDnsBlacklist(), DifferenceEngine\initDiffEngines(), ParserOptions\initialiseFromUser(), Parser\initialiseVariables(), MediaWiki\initializeArticle(), Skin\initPage(), WikiPage\insertOn(), Revision\insertOn(), EditPage\internalAttemptSave(), Parser\internalParse(), User\isBlockedFrom(), User\isLocallyBlockedProxy(), Linker\link(), Linker\linkAttribs(), Linker\linkUrl(), User\load(), MessageCache\load(), MagicWord\load(), User\loadDefaults(), OldLocalFile\loadFromDB(), MessageCache\loadFromDB(), LanguageConverter\loadTables(), Revision\loadText(), MessageCache\logMessages(), MediaWiki\main(), Linker\makeBrokenImageLinkObj(), Linker\makeBrokenLinkObj(), Parser\makeFreeExternalLink(), LinkHolderArray\makeHolder(), Linker\makeKnownLinkObj(), Linker\makeLinkObj(), ResourceLoader\makeModuleResponse(), DatabaseMysql\masterPosWait(), DatabaseBase\masterPosWait(), EditPage\mergeChangesInto(), FileBackendStore\moveInternal(), SquidUpdate\newFromLinksTo(), Revision\newNullRevision(), LanguageYue\normalizeForSearch(), LanguageZh_hans\normalizeForSearch(), LanguageBe_tarask\normalizeForSearch(), LanguageZh\normalizeForSearch(), Linker\normalizeSubpageLink(), SearchMySQL\normalizeText(), WatchAction\onSubmit(), UnwatchAction\onSubmit(), CreditsAction\onView(), HistoryAction\onView(), DatabaseMysql\open(), DatabaseIbm_db2\open(), LoadBalancer\openConnection(), LoadBalancer\openForeignConnection(), WordLevelDiff\orig(), OutputPage\output(), SkinTemplate\outputPage(), SiteStats\pagesInNs(), Parser\parse(), MessageCache\parse(), AjaxDispatcher\performAction(), MediaWiki\performAction(), MediaWiki\performRequest(), User\pingLimiter(), Job\pop(), BlockListPager\preprocessResults(), Preprocessor_Hash\preprocessToObj(), Preprocessor_DOM\preprocessToObj(), Preprocessor_DOM\preprocessToXml(), ApiBase\profileDBIn(), ApiBase\profileIn(), SquidUpdate\purge(), DatabaseBase\query(), LinksUpdate\queueRecursiveJobs(), StandardTemplate\quickBar(), SvgHandler\rasterize(), MWCryptRand\realGenerate(), LocalisationCache\recache(), EnhancedChangesList\recentChangesBlock(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), OldChangesList\recentChangesLine(), EnhancedChangesList\recentChangesLine(), ResourceLoader\register(), ResourceLoader\registerTestModules(), Sanitizer\removeHTMLcomments(), Sanitizer\removeHTMLtags(), WatchedItem\removeWatch(), SearchHighlighter\removeWiki(), DifferenceEngine\renderNewRevision(), LinkHolderArray\replace(), ReplacementArray\replace(), MessageCache\replace(), Parser\replaceExternalLinks(), LinkHolderArray\replaceInternal(), Parser_LinkHooks\replaceInternalLinks2(), Parser\replaceInternalLinks2(), Parser_LinkHooks\replaceInternalLinksCallback(), LinkHolderArray\replaceInterwiki(), WikiPage\replaceSection(), LinkHolderArray\replaceText(), Parser\replaceVariables(), LoadBalancer\reportConnectionError(), ResourceLoader\respond(), DjVuImage\retrieveMetaData(), RefreshLinksJob\run(), RefreshLinksJob2\run(), Hooks\run(), MessageCache\saveToCaches(), Parser\serializeHalfParsedText(), EhcacheBagOStuff\set(), DBABagOStuff\set(), DifferenceEngine\showDiffPage(), EditPage\showEditForm(), SpecialSearch\showHit(), SpecialSearch\showInterwiki(), SpecialSearch\showInterwikiHit(), SpecialSearch\showMatches(), SpecialSearch\showResults(), LoadBalancer\sleep(), FileBackendStore\storeInternal(), FileBackendStore\streamFile(), File\transform(), BitmapHandler\transformCustom(), BitmapHandler\transformImageMagick(), Parser\transformMsg(), MediaWiki_I18N\translate(), LanguageConverter\translate(), StripState\unstripType(), WikiPage\updateIfNewerOn(), WikiPage\updateRedirectOn(), WikiPage\updateRevisionOn(), OldLocalFile\upgradeRow(), LocalFile\upgradeRow(), UploadBase\verifyFile(), Article\view(), LoadBalancer\waitFor(), LoadBalancer\waitForAll(), wfIsBadImage(), wfMsgReal(), wfStreamThumb(), XmlDumpWriter\writeLogItem(), XmlDumpWriter\writeRevision(), and xmlsafe().

Here is the call graph for this function:

wfProfileOut ( functionname = 'missing')

Stop profiling of a function.

Parameters:
$functionnameString: name of the function we have profiled

Definition at line 25 of file Profiler.php.

References Profiler\instance().

Referenced by AjaxDispatcher\__construct(), ResourceLoader\__construct(), MappedDiff\__construct(), WordLevelDiff\__construct(), DiffFormatter\_block(), TableDiffFormatter\_changed(), Diff\_check(), _DiffEngine\_shift_boundaries(), WordLevelDiff\_split(), StubObject\_unstub(), EmailNotification\actuallyNotifyOnPageChange(), DBABagOStuff\add(), LinkCache\addLinkObj(), WatchedItem\addWatch(), OutputPage\addWikiTextTitle(), Parser\argSubstitution(), LanguageConverter\autoConvert(), LanguageConverter\autoConvertToAllVariants(), Parser\braceSubstitution(), SkinTemplate\buildContentActionUrls(), SkinTemplate\buildContentNavigationUrls(), SkinTemplate\buildNavUrls(), SkinTemplate\buildPersonalUrls(), Skin\buildSidebar(), Profiler\calculateOverhead(), MediaWiki\checkMaxLag(), Parser\clearState(), WordLevelDiff\closing(), ViewCountUpdate\collect(), FileBackendStore\concatenate(), LanguageKk\convertGrammar(), FileBackendStore\copyInternal(), FileBackendStore\createInternal(), EhcacheBagOStuff\delete(), DBABagOStuff\delete(), Block\deleteIfExpired(), FileBackendStore\deleteInternal(), UploadBase\detectScript(), _DiffEngine\diff(), _DiffEngine\diff_local(), WikiExporter\do_list_authors(), StandardTemplate\doAfterContent(), Parser\doAllQuotes(), LegacyTemplate\doBeforeContent(), Parser\doBlockLevels(), FileBackendStore\doClean(), Parser\doDoubleUnderscore(), LinksUpdate\doDumbUpdate(), WikiPage\doEdit(), WikiPage\doEditUpdates(), Parser\doHeadings(), LinksUpdate\doIncrementalUpdate(), Language\doMagicHook(), Parser\doMagicLinks(), FileBackendStore\doOperationsInternal(), FileBackendStore\doPrepare(), LinkBatch\doQuery(), IndexPager\doQuery(), WikiPage\doQuickEdit(), FileBackendStore\doSecure(), Parser\doTableStuff(), DjVuHandler\doTransform(), SearchUpdate\doUpdate(), DeferredUpdates\doUpdates(), WikiExporter\dumpFrom(), EditPage\edit(), User\edits(), Xml\elementClean(), MWTidy\execExternalTidy(), MWTidy\execInternalTidy(), RedirectSpecialPage\execute(), LocalFileDeleteBatch\execute(), LinkBatch\executeInto(), SpecialPageFactory\executePath(), PPFrame_DOM\expand(), Article\fetchContent(), FileBackendStore\fileExists(), ResourceLoader\filter(), MediaWiki\finalCleanup(), Parser\findColonNoLinks(), Parser_LinkHooks\firstCallInit(), Parser\firstCallInit(), DiffFormatter\format(), Linker\formatComment(), FeedUtils\formatDiffRow(), SpecialProtectedtitles\formatRow(), SpecialProtectedpages\formatRow(), DeletedContribsPager\formatRow(), ContribsPager\formatRow(), Linker\formatTemplates(), CoreParserFunctions\gender(), DifferenceEngine\generateDiffBody(), ChangesFeed\generateFeed(), EhcacheBagOStuff\get(), MessageBlobStore\get(), DBABagOStuff\get(), ParserCache\get(), MWMemcached\get(), AllmessagesTablePager\getAllMessages(), User\getAutomaticGroups(), User\getBlockedStatus(), Skin\getCachedNotice(), Title\getCascadeProtectionSources(), Language\getCaseMaps(), LoadBalancer\getConnection(), Article\getContent(), EditPage\getContent(), CreditsAction\getCredits(), AllmessagesTablePager\getCustomisedStatuses(), DifferenceEngine\getDiffBody(), User\getEffectiveGroups(), FileBackendStore\getFileContents(), FileBackendStore\getFileProps(), FileBackendStore\getFileSha1Base36(), FileBackendStore\getFileSize(), FileBackendStore\getFileStat(), FileBackendStore\getFileTimestamp(), CategoryViewer\getHTML(), LocalisationCache\getItem(), LoadMonitor_MySQL\getLagTimes(), WikiPage\getLastNAuthors(), BacklinkCache\getLinks(), Title\getLinkURL(), SpecialPageFactory\getList(), FileBackendStore\getLocalReference(), DjVuHandler\getMetaTree(), ResourceLoaderFileModule\getModifiedTime(), ResourceLoaderStartUpModule\getModuleRegistrations(), MessageCache\getMostUsedMessages(), Skin\getNamespaceNotice(), ContribsPager\getParentLengths(), WikiPage\getParserOutput(), EditPage\getPreviewText(), FSFile\getProps(), LoadBalancer\getReaderIndex(), Revision\getRevisionText(), Parser\getRevisionTimestamp(), FSFile\getSha1Base36(), Skin\getSiteNotice(), RequestContext\getSkin(), Skin\getSkinNames(), ProtectedTitlesPager\getStartBody(), LogPager\getStartBody(), MergeHistoryPager\getStartBody(), LocalisationCache\getSubitem(), HistoryBlobStub\getText(), BaseTemplate\getToolbox(), Title\getUserPermissionsErrorsInternal(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinked(), SearchHighlighter\highlightSimple(), SearchHighlighter\highlightText(), SquidUpdate\HTCPPurge(), EditPage\importFormData(), User\inDnsBlacklist(), DifferenceEngine\initDiffEngines(), ParserOptions\initialiseFromUser(), Parser\initialiseVariables(), MediaWiki\initializeArticle(), Skin\initPage(), WikiPage\insertOn(), Revision\insertOn(), EditPage\internalAttemptSave(), Parser\internalParse(), User\isBlockedFrom(), User\isLocallyBlockedProxy(), Linker\link(), Linker\linkAttribs(), Linker\linkUrl(), User\load(), MessageCache\load(), MagicWord\load(), User\loadDefaults(), OldLocalFile\loadFromDB(), MessageCache\loadFromDB(), LanguageConverter\loadTables(), Revision\loadText(), MessageCache\logMessages(), MediaWiki\main(), Linker\makeBrokenImageLinkObj(), Linker\makeBrokenLinkObj(), Parser\makeFreeExternalLink(), LinkHolderArray\makeHolder(), Linker\makeKnownLinkObj(), Linker\makeLinkObj(), ResourceLoader\makeModuleResponse(), DatabaseMysql\masterPosWait(), DatabaseBase\masterPosWait(), EditPage\mergeChangesInto(), FileBackendStore\moveInternal(), SquidUpdate\newFromLinksTo(), Revision\newNullRevision(), LanguageYue\normalizeForSearch(), LanguageZh_hans\normalizeForSearch(), LanguageBe_tarask\normalizeForSearch(), LanguageZh\normalizeForSearch(), Linker\normalizeSubpageLink(), SearchMySQL\normalizeText(), WatchAction\onSubmit(), UnwatchAction\onSubmit(), CreditsAction\onView(), HistoryAction\onView(), DatabaseMysql\open(), DatabaseIbm_db2\open(), LoadBalancer\openConnection(), LoadBalancer\openForeignConnection(), WordLevelDiff\orig(), OutputPage\output(), SkinTemplate\outputPage(), SiteStats\pagesInNs(), MessageCache\parse(), AjaxDispatcher\performAction(), MediaWiki\performAction(), MediaWiki\performRequest(), User\pingLimiter(), Job\pop(), Job\pop_type(), BlockListPager\preprocessResults(), Preprocessor_Hash\preprocessToObj(), Preprocessor_DOM\preprocessToObj(), ApiBase\profileDBOut(), ApiBase\profileOut(), SquidUpdate\purge(), DatabaseBase\query(), LinksUpdate\queueRecursiveJobs(), StandardTemplate\quickBar(), SvgHandler\rasterize(), MWCryptRand\realGenerate(), LocalisationCache\recache(), EnhancedChangesList\recentChangesBlock(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), OldChangesList\recentChangesLine(), EnhancedChangesList\recentChangesLine(), ResourceLoader\register(), ResourceLoader\registerTestModules(), Sanitizer\removeHTMLcomments(), Sanitizer\removeHTMLtags(), WatchedItem\removeWatch(), SearchHighlighter\removeWiki(), DifferenceEngine\renderNewRevision(), LinkHolderArray\replace(), ReplacementArray\replace(), MessageCache\replace(), Parser\replaceExternalLinks(), LinkHolderArray\replaceInternal(), Parser_LinkHooks\replaceInternalLinks2(), Parser\replaceInternalLinks2(), Parser_LinkHooks\replaceInternalLinksCallback(), LinkHolderArray\replaceInterwiki(), WikiPage\replaceSection(), LinkHolderArray\replaceText(), Parser\replaceVariables(), LoadBalancer\reportConnectionError(), ResourceLoader\respond(), DjVuImage\retrieveMetaData(), RefreshLinksJob\run(), RefreshLinksJob2\run(), Hooks\run(), MessageCache\saveToCaches(), Parser\serializeHalfParsedText(), EhcacheBagOStuff\set(), DBABagOStuff\set(), DifferenceEngine\showDiffPage(), EditPage\showEditForm(), SpecialSearch\showHit(), SpecialSearch\showInterwiki(), SpecialSearch\showInterwikiHit(), SpecialSearch\showMatches(), SpecialSearch\showResults(), LoadBalancer\sleep(), FileBackendStore\storeInternal(), FileBackendStore\streamFile(), File\transform(), BitmapHandler\transformCustom(), BitmapHandler\transformImageMagick(), Parser\transformMsg(), MediaWiki_I18N\translate(), LanguageConverter\translate(), StripState\unstripType(), WikiPage\updateIfNewerOn(), WikiPage\updateRedirectOn(), WikiPage\updateRevisionOn(), OldLocalFile\upgradeRow(), LocalFile\upgradeRow(), UploadBase\verifyFile(), Article\view(), LoadBalancer\waitFor(), LoadBalancer\waitForAll(), wfIsBadImage(), wfMsgReal(), wfStreamThumb(), XmlDumpWriter\writeLogItem(), XmlDumpWriter\writeRevision(), and xmlsafe().

Here is the call graph for this function: