MediaWiki  REL1_19
testCompression.php File Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

Go to the source code of this file.

Variables

 $blob = new $type
 $dbr = wfGetDB( DB_SLAVE )
 $hashes = array()
 $keys = array()
 $optionsWithArgs = array( 'start', 'limit', 'type' )
 $res
foreach($res as $row) $serialized = serialize( $blob )
 $t = -microtime( true )
if(!isset($args[0])) $title = Title::newFromText( $args[0] )
 $uncompressedSize = 0

Detailed Description

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

See also:
wfWaitForSlaves()

Definition in file testCompression.php.


Variable Documentation

$dbr = wfGetDB( DB_SLAVE )

Definition at line 48 of file testCompression.php.

Referenced by CategoryPager\__construct(), ImageListPager\__construct(), MergeHistoryPager\__construct(), OutputPage\addCategoryLinks(), ChangeTags\addTags(), SpecialRecentChanges\buildMainQueryConds(), SiteStatsUpdate\cacheUpdate(), TitleListDependency\calculateTimestamps(), userOptions\CHANGER(), CheckStorage\check(), TrackBlobs\checkIntegrity(), SpecialRecentChanges\checkLastModified(), LocalRepo\checkRedirect(), RevisionDeleter\checkRevisionExistence(), RecompressTracked\checkTrackingTable(), CompressOld\compressWithConcat(), Title\countAuthorsBetween(), SpecialWatchlist\countItems(), Title\countRevisionsBetween(), SearchEngine\create(), Block\defaultRetroactiveAutoblock(), DifferenceEngine\deletedLink(), RefreshLinks\deleteLinksFromNonexistent(), RecompressTracked\doAllOrphans(), RecompressTracked\doAllPages(), WikiPage\doCascadeProtectionUpdates(), CategoryViewer\doCategoryQuery(), SpecialRecentchangeslinked\doMainQuery(), SpecialRecentChanges\doMainQuery(), RecompressTracked\doPage(), GenderCache\doQuery(), LinkBatch\doQuery(), RefreshLinks\doRefreshLinks(), MovePageForm\doSubmit(), LinkHolderArray\doVariants(), User\edits(), Title\estimateRevisionCount(), StorageTypeStats\execute(), DumpRev\execute(), FixUserRegistration\execute(), CheckBadRedirects\execute(), CheckImages\execute(), DeleteDefaultMessages\execute(), CleanupSpam\execute(), ClearInterwikiCache\execute(), DumpSisterSites\execute(), RemoveUnusedAccounts\execute(), ResetUserTokens\execute(), CheckUsernames\execute(), DeleteImageCache\execute(), OrphanStats\execute(), ApiProtect\execute(), UploadStashCleanup\execute(), SpecialWatchlist\execute(), ShowStats\execute(), SpecialTags\execute(), FixDoubleRedirects\execute(), FixBug20757\execute(), DumpLinks\execute(), InitEditCount\execute(), RebuildFileCache\execute(), QueryPage\execute(), ExternalStoreDB\fetchBlob(), UploadStash\fetchFileMetadata(), QueryPage\fetchFromCache(), UploadDumper\fetchLocal(), HistoryAction\fetchRevisions(), Parser\fetchScaryTemplateMaybeFromCache(), UploadDumper\fetchUsed(), TitleCleanup\fileExists(), LocalRepo\findBySha1(), RecompressTracked\finishIncompleteMoves(), DoubleRedirectsPage\formatResult(), LocalRepo\getArticleID(), Title\getBrokenLinksFrom(), QueryPage\getCachedTimestamp(), Title\getCascadeProtectionSources(), WikiPage\getContributors(), AllmessagesTablePager\getCustomisedStatuses(), ResourceLoaderModule\getFileDependencies(), User\getFirstEditTimestamp(), User\getFormerGroups(), MessageBlobStore\getFromDB(), WikiPage\getHiddenCategories(), LocalFile\getHistory(), DeleteImageCache\getImageCount(), EditPage\getLastDelete(), PageArchive\getLastRevisionText(), SpecialExport\getLinks(), ExternalUser\getLocalUser(), Category\getMembers(), SpecialStatistics\getMostViewedPages(), ResourceLoaderModule\getMsgBlobMtime(), Title\getNotificationTimestamp(), SpecialExport\getPagesFromCategory(), SpecialExport\getPagesFromNamespace(), Title\getParentCategories(), PageArchive\getPreviousRevision(), DisambiguationsPage\getQueryInfo(), NewFilesPager\getQueryInfo(), UsersPager\getQueryInfo(), WithoutInterwikiPage\getQueryInfo(), ActiveUsersPager\getQueryInfo(), ImageListPager\getQueryInfo(), LinkSearchPage\getQueryInfo(), Block\getRangeCond(), Title\getRedirectsHere(), WikiPage\getRedirectTarget(), PageArchive\getRevision(), FixBug20757\getRevTextMap(), RollbackEdits\getRollbackTitles(), Title\getSubpages(), HistoryBlobStub\getText(), HistoryBlobCurStub\getText(), TextPassDumper\getText(), TrackBlobs\getTextClause(), PageArchive\getTextFromRow(), Revision\getTimestampFromId(), Revision\getTitle(), ResourceLoaderWikiModule\getTitleMtimes(), Title\getTitleProtection(), SpecialEditWatchlist\getWatchlist(), SpecialEditWatchlist\getWatchlistInfo(), User\idForName(), User\idFromName(), CheckStorage\importRevision(), User\incEditCount(), Category\initialize(), BackupDumper\initProgress(), PageArchive\isDeleted(), Title\isDeleted(), Title\isDeletedQuick(), Title\isNewPage(), Revision\isUnpatrolled(), WatchedItem\isWatched(), SiteStats\jobs(), PageArchive\listAllPages(), ChangeTags\listDefinedTags(), PageArchive\listFiles(), UploadStash\listFiles(), PageArchive\listPages(), PageArchive\listPagesByPrefix(), PageArchive\listRevisions(), SiteStats\load(), ArchivedFile\load(), User\loadFromDatabase(), OldLocalFile\loadFromDB(), MessageCache\loadFromDB(), User\loadGroups(), User\loadOptions(), Title\loadRestrictions(), Title\loadRestrictionsFromRows(), Revision\loadText(), SearchMySQL\minSearchLength(), moveToExternal(), LinkSearchPage\mungeQuery(), Title\nameOf(), RecentChange\newFromConds(), User\newFromConfirmationCode(), RecentChange\newFromId(), Block\newFromID(), UserArray\newFromIDs(), Title\newFromIDs(), OldLocalFile\newFromKey(), SquidUpdate\newFromLinksTo(), ExternalUser\newFromUser(), LocalFile\nextHistoryLine(), SiteStats\numberingroup(), SkinTemplate\outputPage(), ImageQueryPage\outputResults(), QueryPage\outputResults(), InfoAction\pageCountInfo(), WikiPage\pageData(), WikiPage\pageDataFromId(), WikiPage\pageDataFromTitle(), SiteStats\pagesInNs(), Job\pop(), ResourceLoader\preloadModuleInfo(), PurgeList\purgeNamespace(), ImagePage\queryImageLinks(), QueryPage\reallyDoQuery(), QueryPage\recache(), LinkHolderArray\replaceInternal(), resolveStub(), resolveStubs(), CheckStorage\restoreText(), TableCleanup\runTable(), RandomPage\selectRandomPageFromDB(), SpecialAllpages\showChunk(), MovePageForm\showForm(), SpecialWhatLinksHere\showIndirectLinks(), SpecialBlockList\showList(), SpecialPrefixindex\showPrefixChunk(), SpecialAllpages\showToplevel(), SpecialVersion\softwareInformation(), RecompressTracked\syncDBs(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), userOptions\USAGER(), SpecialRecentChanges\webOutput(), User\whoIs(), and User\whoIsReal().

$optionsWithArgs = array( 'start', 'limit', 'type' )

Definition at line 23 of file testCompression.php.

$res
Initial value:
 $dbr->select(
        array( 'page', 'revision', 'text' ),
        '*',
        array(
                'page_namespace' => $title->getNamespace(),
                'page_title' => $title->getDBkey(),
                'page_id=rev_page',
                'rev_timestamp > ' . $dbr->addQuotes( $dbr->timestamp( $start ) ),
                'rev_text_id=old_id'
        ), __FILE__, array( 'LIMIT' => $limit )
)

Definition at line 49 of file testCompression.php.

Referenced by OutputPage\addCategoryLinks(), LinkBatch\addResultToCache(), DatabaseSqliteTest\assertResultIs(), TitleListDependency\calculateTimestamps(), MysqlInstaller\canCreateAccounts(), PostgresUpdater\changeField(), CheckStorage\check(), MysqlUpdater\checkBin(), CheckStorage\checkExternalConcatBlobs(), CheckSyntax\checkFileWithCli(), DatabaseSqlite\checkForEnabledSearch(), ViewCountUpdate\collect(), CgzCopyTransaction\commit(), CompressOld\compressOldPages(), DatabasePostgres\constraintExists(), ConvertUserOptions\convertOptionBatch(), Title\countAuthorsBetween(), SpecialWatchlist\countItems(), DatabasePostgres\currentSequenceValue(), DatabaseMssql\dataSeek(), DatabaseMysql\dataSeek(), DatabasePostgres\dataSeek(), DatabaseSqlite\dataSeek(), DatabaseOracle\dataSeek(), DatabaseIbm_db2\dataSeek(), Block\defaultRetroactiveAutoblock(), MWMemcached\delete(), PostgresUpdater\describeIndex(), PostgresUpdater\describeTable(), FixSlaveDesync\desyncFixPage(), WikiExporter\do_list_authors(), RecompressTracked\doAllOrphans(), RecompressTracked\doAllPages(), WikiPage\doCascadeProtectionUpdates(), CategoryViewer\doCategoryQuery(), PopulateRevisionLength\doDBUpdates(), FixExtLinksProtocolRelative\doDBUpdates(), PopulateParentId\doDBUpdates(), PopulateLogSearch\doDBUpdates(), PopulateLogUsertext\doDBUpdates(), PopulateImageSha1\doDBUpdates(), DeleteArchivedFilesImplementation\doDelete(), DeleteOldRevisions\doDelete(), WikiPage\doDeleteUpdates(), WatchedItem\doDuplicateEntries(), QueryPage\doFeed(), MysqlUpdater\doLangLinksLengthUpdate(), LSLockManager\doLock(), DBLockManager\doLock(), SpecialRecentchangeslinked\doMainQuery(), SpecialRecentChanges\doMainQuery(), RecompressTracked\doOrphanList(), RecompressTracked\doPage(), GenderCache\doQuery(), DatabaseMssql\doQuery(), LinkBatch\doQuery(), DatabaseSqlite\doQuery(), ReassignEdits\doReassignEdits(), RefreshLinks\doRefreshLinks(), PopulateRevisionSha1\doSha1LegacyUpdates(), PopulateRevisionSha1\doSha1Updates(), MysqlUpdater\doTemplatelinksUpdate(), UpdateSearchIndex\doUpdateSearchIndex(), DatabaseSqlite\duplicateTableStructure(), DatabaseMssql\estimateRowCount(), DatabaseMysql\estimateRowCount(), DatabasePostgres\estimateRowCount(), DatabaseBase\estimateRowCount(), StorageTypeStats\execute(), FixUserRegistration\execute(), MwSql\execute(), CheckImages\execute(), DeleteDefaultMessages\execute(), CleanupSpam\execute(), ClearInterwikiCache\execute(), ConvertUserOptions\execute(), NukePage\execute(), RemoveUnusedAccounts\execute(), ShowJobs\execute(), CheckUsernames\execute(), DeleteImageCache\execute(), DeleteOrphanedRevisions\execute(), OrphanStats\execute(), UpdateRestrictions\execute(), ApiProtect\execute(), SpecialWatchlist\execute(), UploadStashCleanup\execute(), RenameDbPrefix\execute(), ApiQueryAllUsers\execute(), SpecialTags\execute(), ApiQueryLangLinks\execute(), ApiQueryCategoryInfo\execute(), FixTimestamps\execute(), ApiQueryDeletedrevs\execute(), ApiQueryExternalLinks\execute(), ApiWatch\execute(), ApiQueryIWLinks\execute(), FixDoubleRedirects\execute(), FixBug20757\execute(), ApiQueryPageProps\execute(), DeleteArchivedRevisions\execute(), ApiQueryFilearchive\execute(), UpdateDoubleWidthSearch\execute(), ApiParamInfo\execute(), ApiUnblock\execute(), ApiQueryBlocks\execute(), ApiQueryLogEvents\execute(), ApiQueryContributions\execute(), RebuildFileCache\execute(), ApiBlock\execute(), ConvertLinks\execute(), ApiQueryTags\execute(), NukeNS\execute(), RefreshImageMetadata\execute(), ApiQueryUsers\execute(), ApiQueryRevisions\execute(), QueryPage\execute(), DatabaseIbm_db2\execute(), LocalFileDeleteBatch\execute(), LinkBatch\executeInto(), Exif\exifGPStoNumber(), Parser\fetchFile(), QueryPage\fetchFromCache(), DatabaseMssql\fetchObject(), DatabaseMysql\fetchObject(), DatabaseSqlite\fetchObject(), DatabasePostgres\fetchObject(), DatabaseOracle\fetchObject(), DatabaseIbm_db2\fetchObject(), DatabaseMssql\fetchRow(), DatabaseMysql\fetchRow(), DatabaseSqlite\fetchRow(), DatabasePostgres\fetchRow(), DatabaseOracle\fetchRow(), DatabaseIbm_db2\fetchRow(), DatabaseMssql\fieldExists(), DatabaseMysql\fieldInfo(), DatabaseSqlite\fieldInfo(), DatabaseMssql\fieldInfo(), DatabaseOracle\fieldInfoMulti(), DatabaseMssql\fieldName(), DatabaseMysql\fieldName(), DatabaseSqlite\fieldName(), DatabasePostgres\fieldName(), DatabaseIbm_db2\fieldName(), DatabasePostgres\fieldType(), DatabaseIbm_db2\fieldType(), DatabaseBase\fieldType(), LocalRepo\findBySha1(), TrackBlobs\findOrphanBlobs(), FixSlaveDesync\findPageLatestCorruption(), RecompressTracked\finishIncompleteMoves(), DoubleRedirectJob\fixRedirects(), DoubleRedirectsPage\formatResult(), DatabaseMssql\freeResult(), DatabaseMysql\freeResult(), DatabaseSqlite\freeResult(), DatabasePostgres\freeResult(), DatabaseOracle\freeResult(), DatabaseIbm_db2\freeResult(), PostgresField\fromText(), IBM_DB2Field\fromText(), GenerateSitemap\generateNamespaces(), Interwiki\getAllPrefixesDB(), WikiPage\getAutoDeleteReason(), Title\getBrokenLinksFrom(), Title\getCascadeProtectionSources(), DatabaseSqliteTest\getColumns(), WikiPage\getContributors(), AllmessagesTablePager\getCustomisedStatuses(), File\getDescriptionText(), ApiQueryInfo\getDisplayTitle(), MysqlInstaller\getEngines(), LinksUpdate\getExistingCategories(), LinksUpdate\getExistingExternals(), LinksUpdate\getExistingImages(), LinksUpdate\getExistingInterlangs(), LinksUpdate\getExistingInterwikis(), LinksUpdate\getExistingLinks(), LinksUpdate\getExistingProperties(), LinksUpdate\getExistingTemplates(), Benchmarker\getFormattedResults(), User\getFormerGroups(), MessageBlobStore\getFromDB(), ExternalUser_MediaWiki\getGroups(), UserRightsProxy\getGroups(), LocalFileDeleteBatch\getHashes(), WikiPage\getHiddenCategories(), LocalFile\getHistory(), DatabaseSqliteTest\getIndexes(), DatabaseMysql\getLagFromProcesslist(), DatabaseMysql\getLagFromSlaveStatus(), WikiPage\getLastNAuthors(), BacklinkCache\getLinks(), Title\getLinksFrom(), Title\getLinksTo(), DatabaseMysql\getMasterPos(), SpecialStatistics\getMostViewedPages(), DatabaseMysql\getMysqlStatus(), SpecialExport\getPagesFromCategory(), SpecialExport\getPagesFromNamespace(), Title\getParentCategories(), ContribsPager\getParentLengths(), nextJobDB\getPendingDbs(), ApiQueryInfo\getProtectionInfo(), DisambiguationsPage\getQueryInfo(), Title\getRedirectsHere(), ApiPageSet\getRedirectTargets(), FixBug20757\getRevTextMap(), DatabaseMysql\getSlavePos(), ResourceLoaderWikiModule\getTitleMtimes(), Title\getTitleProtection(), ApiQueryInfo\getTSIDs(), MessageBlobStore\getUpdatesForMessage(), ApiQueryInfo\getWatchedInfo(), SpecialEditWatchlist\getWatchlist(), SpecialEditWatchlist\getWatchlistInfo(), DatabasePostgres\hasConstraint(), ImagePage\imageLinks(), DatabaseOracle\indexExists(), DatabaseMssql\indexInfo(), DatabaseMysql\indexInfo(), DatabasePostgres\indexInfo(), DatabaseSqlite\indexInfo(), DatabaseIbm_db2\indexInfo(), DatabasePostgres\indexUnique(), DatabaseIbm_db2\indexUnique(), ApiPageSet\initFromPageIds(), ApiPageSet\initFromQueryResult(), ApiPageSet\initFromRevIDs(), ApiPageSet\initFromTitles(), Job\insert(), DatabaseMssql\insert(), DatabasePostgres\insert(), DatabaseIbm_db2\insert(), DatabasePostgres\insertSelect(), SqliteMaintenance\integrityCheck(), LinksUpdate\invalidatePages(), PostgresInstaller\isRoleMember(), WatchedItem\isWatched(), BitmapMetadataHandler\Jpeg(), SqlBagOStuff\keys(), ChangeTags\listDefinedTags(), PageArchive\listFiles(), UploadStash\listFiles(), PageArchive\listRevisions(), ArchivedFile\load(), Revision\loadFromConds(), MessageCache\loadFromDB(), User\loadGroups(), User\loadOptions(), Title\loadRestrictions(), Title\loadRestrictionsFromResultWrapper(), GenerateSitemap\main(), Linker\makeImageLink2(), DatabaseMysql\masterPosWait(), moveToExternal(), RecentChange\newFromConds(), RecentChange\newFromId(), Block\newFromID(), UserArray\newFromIDs(), Title\newFromIDs(), SquidUpdate\newFromLinksTo(), UserArray\newFromResult(), TitleArray\newFromResult(), TitleArray\newFromResult_internal(), UserArray\newFromResult_internal(), Block\newLoad(), DatabasePostgres\nextSequenceValue(), DatabaseOracle\nextSequenceValue(), EditPage\noSuchSectionPage(), EmailNotification\notifyOnPageChange(), DatabaseMssql\numFields(), DatabaseMysql\numFields(), DatabaseSqlite\numFields(), DatabasePostgres\numFields(), DatabaseOracle\numFields(), DatabaseIbm_db2\numFields(), DatabaseMssql\numRows(), DatabaseMysql\numRows(), DatabaseSqlite\numRows(), DatabasePostgres\numRows(), DatabaseOracle\numRows(), DatabaseIbm_db2\numRows(), SpecialUnlockdb\onSubmit(), SpecialPasswordReset\onSubmit(), SkinTemplate\outputPage(), ImageQueryPage\outputResults(), QueryPage\outputResults(), MessageCache\parse(), BacklinkCache\partitionResult(), RebuildTextIndex\populateSearchIndex(), ResourceLoader\preloadModuleInfo(), MostlinkedCategoriesPage\preprocessResults(), ShortPagesPage\preprocessResults(), MostlinkedPage\preprocessResults(), ListredirectsPage\preprocessResults(), MostlinkedTemplatesPage\preprocessResults(), DisambiguationsPage\preprocessResults(), WantedQueryPage\preprocessResults(), MysqlInstaller\preUpgrade(), PurgeDeletedFiles\purgeFromArchiveTable(), PurgeDeletedFiles\purgeFromLogType(), PurgeRedundantText(), Maintenance\purgeRedundantText(), IndexPager\reallyDoQuery(), QueryPage\reallyDoQuery(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), RebuildRecentchanges\rebuildRecentChangesTablePass4(), QueryPage\recache(), DatabasePostgres\relationExists(), MagicWord\replace(), LinkHolderArray\replaceInternal(), DbTestPreviewer\report(), ApiPageSet\resolvePendingRedirects(), resolveStubs(), ApiQueryImages\run(), ApiQueryIWBacklinks\run(), ApiQueryProtectedTitles\run(), ApiQueryLangBacklinks\run(), ApiQueryWatchlistRaw\run(), ApiQueryExtLinksUsage\run(), ApiQueryCategories\run(), ApiQueryCategoryMembers\run(), ApiQueryAllLinks\run(), ApiQueryDuplicateFiles\run(), ApiQueryAllCategories\run(), ApiQueryWatchlist\run(), ApiQueryAllpages\run(), ApiQueryQueryPage\run(), ApiQueryAllimages\run(), ApiQueryLinks\run(), ApiQueryRecentChanges\run(), ApiQueryBacklinks\run(), MWMemcached\run_command(), TitlePermissionTest\runGroupPermissions(), ApiQueryRandom\runQuery(), TableCleanup\runTable(), Categoryfinder\scan_next_layer(), SearchPostgres\searchQuery(), ApiQueryBase\select(), DatabaseIbm_db2\select(), DatabaseBase\selectField(), RandomPage\selectRandomPageFromDB(), DatabaseBase\selectRow(), SpecialAllpages\showChunk(), SpecialPrefixindex\showPrefixChunk(), SpecialAllpages\showToplevel(), DatabaseOracle\sourceStream(), DatabaseBase\sourceStream(), MwSql\sqlPrintResult(), StreamFile\stream(), FileBackendStore\streamFile(), Installer\subscribeToMediaWikiAnnounce(), MagicWord\substituteCallback(), DatabaseMssql\tableExists(), DatabaseIbm_db2\tableExists(), DatabaseOracle\tableExists(), DatabaseBase\tableExists(), JpegMetadataExtractorTest\testBinaryCommentStripped(), ExifBitmapTest\testConvertMetadataLatest(), ExifBitmapTest\testConvertMetadataSoftware(), ExifBitmapTest\testConvertMetadataSoftwareNormal(), ExifBitmapTest\testConvertMetadataToOld(), DatabaseSqliteTest\testDeleteJoin(), LanguageTrTest\testDottedAndDotlessI(), JpegMetadataExtractorTest\testExifByteOrder(), FileBackendTest\testExtensionFromPath(), ExifBitmapTest\testGoodMetadata(), TiffTest\testInvalidFile(), JpegTest\testInvalidFile(), GIFHandlerTest\testInvalidFile(), PNGHandlerTest\testInvalidFile(), JpegMetadataExtractorTest\testIPTCHashComparisionBadHash(), JpegMetadataExtractorTest\testIPTCHashComparisionGoodHash(), JpegMetadataExtractorTest\testIPTCHashComparisionNoHash(), IPTCTest\testIPTCParseForcedUTFButInvalid(), IPTCTest\testIPTCParseMulti(), IPTCTest\testIPTCParseNoCharset88591(), IPTCTest\testIPTCParseNoCharset88591b(), IPTCTest\testIPTCParseNoCharsetUTF8(), IPTCTest\testIPTCParseUTF8(), ExifBitmapTest\testIsBrokenFile(), ExifBitmapTest\testIsInvalid(), JpegMetadataExtractorTest\testIso88591Comment(), ExifBitmapTest\testIsOldBroken(), ExifBitmapTest\testIsOldGood(), JpegTest\testJpegMetadataExtraction(), JpegMetadataExtractorTest\testMultipleComment(), FileBackendTest\testNormalizeStoragePath(), ExifBitmapTest\testPagedTiffHandledGracefully(), FileBackendTest\testParentStoragePath(), JpegMetadataExtractorTest\testPSIRExtraction(), TitlePermissionTest\testQuickPermissions(), IPTCTest\testRecognizeUtf8(), FileBackendTest\testSplitStoragePath(), LanguageTest\testSprintfDateTZ(), DatabaseTest\testStoredFunctions(), BitmapMetadataHandlerTest\testTiffByteOrder(), TiffTest\testTiffMetadataExtraction(), JpegMetadataExtractorTest\testUtf8Comment(), JpegMetadataExtractorTest\testXMPExtraction(), JpegMetadataExtractorTest\testXMPExtractionAltAppId(), DatabaseMssql\textFieldSize(), DatabasePostgres\textFieldSize(), DatabaseIbm_db2\textFieldSize(), DatabaseBase\textFieldSize(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), DatabasePostgres\triggerExists(), HTMLForm\trySubmit(), Preferences\tryUISubmit(), MysqlInstaller\userDefinitelyExists(), EditPage\userWasLastToEdit(), XMPValidate\validateDate(), and UploadFromChunks\verifyChunk().

foreach ($res as $row) $serialized = serialize( $blob )
foreach ($keys as $id=> $key) $t = -microtime( true )

Definition at line 65 of file testCompression.php.

Referenced by Selenium\__call(), JSNode\__construct(), ParserOutput\addLanguageLink(), CoreParserFunctions\basepagename(), CoreParserFunctions\basepagenamee(), ProtectionForm\buildForm(), FakeConverter\convert(), FakeConverter\convertTitle(), UploadFromUrlTest\deleteFile(), LegacyTemplate\deleteThisPage(), Parser\doBlockLevels(), PopulateImageSha1\doDBUpdates(), WikiPage\doDeleteArticleReal(), SpecialRecentChanges\doHeader(), MediaWiki\doJobs(), MysqlUpdater\doSchemaRestructuring(), LegacyTemplate\editThisPage(), SearchOracle\escapeTerm(), RollbackEdits\execute(), Protect\execute(), ApiQueryCategoryInfo\execute(), SpecialExport\execute(), RunJobs\execute(), PPFuzzTester\execute(), ApiQueryUsers\execute(), ApiQueryInfo\extractPageInfo(), ApiQueryRecentChanges\extractRowInfo(), ApiQueryBacklinks\extractRowInfo(), ApiQueryRevisions\extractRowInfo(), UtfNormal\fastDecompose(), Article\fetchContent(), DBConnectionError\fileCachedPage(), UsersPager\formatRow(), CoreParserFunctions\fullpagename(), CoreParserFunctions\fullpagenamee(), CreditsAction\getAuthor(), PreferencesForm\getButtons(), User\getCanonicalName(), Skin\getCategoryLinks(), ParserOutput\getDisplayTitle(), Linker\getLinkColour(), PNGMetadataExtractor\getMetadata(), SpecialAllpages\getNamespaceKeyAndText(), WithoutInterwikiPage\getPageHeader(), DatabaseSqliteTest\getTables(), ApiQueryInfo\getTSIDs(), SpecialSearch\goResult(), Title\indexTitle(), ApiQueryBase\keyToTitle(), Skin\lastModified(), ApiBase\makeHelpMsgParameters(), Title\makeTitle(), Title\makeTitleSafe(), CoreParserFunctions\mwnamespace(), CoreParserFunctions\namespacee(), SpecialAllpages\namespaceForm(), Title\newFromDBkey(), CategoryPage\newFromID(), ImagePage\newFromID(), Article\newFromID(), WikiPage\newFromID(), Title\newFromRow(), Title\newFromText(), Title\newFromURL(), LanguageConverter\OnArticleSaveComplete(), CoreParserFunctions\pagename(), CoreParserFunctions\pagenamee(), LanguageConverter\parseCachedTable(), SearchIBM_DB2\parseQuery(), SearchOracle\parseQuery(), ApiQueryRecentChanges\parseRCType(), JSMinPlus\parseTree(), ApiQueryBacklinks\prepareSecondQuery(), Preferences\profilePreferences(), wfTimestamp\provideNormalTimestamps(), Parser\pstPass2(), Sanitizer\removeHTMLtags(), ApiQueryWatchlistRaw\run(), ApiQueryLinks\run(), ParserTest\runTests(), CacheTime\setCacheTime(), ParserOutput\setEditSectionTokens(), OutputPage\setRedirectedFrom(), Skin\setRelevantTitle(), HTMLForm\setSubmitID(), HTMLForm\setSubmitText(), Profiler\setTemplated(), RequestContext\setTitle(), DerivativeContext\setTitle(), Parser\setTitle(), HTMLForm\setTitle(), ParserOutput\setTitleText(), QuickTemplate\setTranslator(), SpecialAllpages\showChunk(), SpecialSearch\showCreateLink(), DifferenceEngine\showDiffPage(), SpecialSearch\showHit(), SpecialSearch\showInterwikiHit(), SpecialPrefixindex\showPrefixChunk(), EmailConfirmation\showRequestForm(), SpecialSearch\showResults(), SpecialUndelete\showRevision(), LoadBalancer\sleep(), CoreParserFunctions\subjectpagename(), CoreParserFunctions\subjectpagenamee(), CoreParserFunctions\subjectspace(), CoreParserFunctions\subjectspacee(), CoreParserFunctions\subpagename(), CoreParserFunctions\subpagenamee(), CoreParserFunctions\talkpagename(), CoreParserFunctions\talkpagenamee(), CoreParserFunctions\talkspace(), CoreParserFunctions\talkspacee(), ExtraParserTest\testBug8689(), ApiQueryBase\titleToKey(), and Language\userAdjust().

if (!isset($args[0])) $title = Title::newFromText( $args[0] )

Definition at line 31 of file testCompression.php.

Referenced by WikiFilePage\__construct(), SearchUpdate\__construct(), LinksUpdate\__construct(), WikiPage\__construct(), TitleDependency\__construct(), LogPage\actionText(), ImageGallery\add(), ParserTest\addArticle(), LinkCache\addBadLinkObj(), OutputPage\addCategoryLinks(), LinkCache\addGoodLinkObj(), LinkCache\addGoodLinkObjFromRow(), DeferredUpdates\addHTMLCacheUpdate(), ParserOutput\addInterwikiLink(), LinkCache\addLink(), ParserOutput\addLink(), ApiQueryLogEvents\addLogParams(), LinkBatch\addObj(), LinkBatch\addResultToCache(), OutputPage\addReturnTo(), ParserOutput\addTemplate(), ApiQueryBase\addTitleInfo(), Skin\addToSidebarPlain(), User\addWatch(), OutputPage\addWikiText(), OutputPage\addWikiTextTidy(), OutputPage\addWikiTextTitle(), OutputPage\addWikiTextTitleTidy(), OutputPage\addWikiTextWithTitle(), ApiQuerySiteinfo\appendNamespaceAliases(), ApiQuerySiteinfo\appendNamespaces(), ApiQuerySiteinfo\appendRightsInfo(), EnhancedChangesList\arrow(), MediaWiki\articleFromTitle(), EmailConfirmation\attemptConfirm(), CoreParserFunctions\basepagename(), CoreParserFunctions\basepagenamee(), LegacyTemplate\bottomLinks(), Parser\braceSubstitution(), SkinTemplate\buildContentNavigationUrls(), ProtectionForm\buildForm(), SkinTemplate\buildPersonalUrls(), SpecialEditWatchlist\buildRemoveLine(), ChangeTags\buildTagFilterSelector(), SpecialPageFactory\capturePath(), SpecialComparePages\checkExistingTitle(), RevisionDeleter\checkRevisionExistence(), Orphans\checkSeparation(), SpecialEditWatchlist\checkTitle(), Skin\checkTitle(), UploadBase\checkWarnings(), CleanupSpam\cleanupArticle(), SpecialEditWatchlist\cleanupWatchlist(), LinkCache\clearBadLink(), RepoGroup\clearCache(), LinkCache\clearLink(), User\clearNotification(), LegacyTemplate\commentLink(), Article\confirmDelete(), LanguageConverter\convertTitle(), Language\convertTitle(), Revision\countByTitle(), ApiFeedWatchlist\createFeedItem(), ApiDelete\delete(), Article\delete(), DifferenceEngine\deletedLink(), ApiDelete\deleteFile(), ApiTestCaseUpload\deleteFileByTitle(), LegacyTemplate\deleteThisPage(), CoreParserFunctions\displaytitle(), WikiPage\doEditUpdates(), SpecialExport\doExport(), ApiQuery\doExport(), SpecialRecentchangeslinked\doMainQuery(), RecompressTracked\doPage(), LinkHolderArray\doVariants(), LegacyTemplate\editThisPage(), MaintenanceFormatInstallDoc\execute(), ImportSiteScripts\execute(), CheckBadRedirects\execute(), DeleteDefaultMessages\execute(), GetTextMaint\execute(), ApiParse\execute(), SpecialFilepath\execute(), DumpSisterSites\execute(), NukePage\execute(), Undelete\execute(), RollbackEdits\execute(), SpecialWatchlist\execute(), ApiWatch\execute(), ApiQueryCategoryInfo\execute(), ApiQueryDeletedrevs\execute(), AttachLatest\execute(), ApiQueryLangLinks\execute(), ApiQueryAllmessages\execute(), ApiQueryIWLinks\execute(), FixDoubleRedirects\execute(), ApiQueryFilearchive\execute(), ApiPurge\execute(), SpecialBlockList\execute(), ApiQueryImageInfo\execute(), ApiQueryLogEvents\execute(), DeleteBatch\execute(), ConvertLinks\execute(), NukeNS\execute(), RandomPage\execute(), SpecialEmailUser\execute(), ApiQueryRevisions\execute(), FileDuplicateSearchPage\execute(), ApiQueryInfo\execute(), SpecialPage\executePath(), SpecialPageFactory\executePath(), SpecialPageFactory\exists(), ApiQueryInfo\extractPageInfo(), ApiQueryRandom\extractRowInfo(), ApiQueryWatchlist\extractRowInfo(), ApiQueryLogEvents\extractRowInfo(), ApiQueryContributions\extractRowInfo(), ApiQueryRecentChanges\extractRowInfo(), ApiQueryRevisions\extractRowInfo(), SpecialEditWatchlist\extractTitles(), ApiFeedContributions\feedItem(), HistoryAction\feedItem(), SpecialNewpages\feedItem(), QueryPage\feedResult(), Parser\fetchFile(), Parser\fetchFileAndTitle(), Revision\fetchRevision(), Parser\fetchTemplate(), Parser\fetchTemplateAndTitle(), RepoGroup\findFile(), FileRepo\findFile(), FileRepo\findFiles(), RefreshLinks\fixLinksFromArticle(), RefreshLinks\fixRedirect(), Skin\footerLink(), Linker\formatAutocomments(), FeedUtils\formatDiffRow(), ApiParse\formatIWLinks(), ApiParse\formatLangLinks(), ApiParse\formatLinks(), Linker\formatLinksInComment(), PageQueryPage\formatResult(), PopularPagesPage\formatResult(), MostcategoriesPage\formatResult(), UnusedCategoriesPage\formatResult(), AncientPagesPage\formatResult(), UnusedtemplatesPage\formatResult(), ShortPagesPage\formatResult(), MostlinkedPage\formatResult(), MostlinkedTemplatesPage\formatResult(), DisambiguationsPage\formatResult(), LinkSearchPage\formatResult(), WantedQueryPage\formatResult(), SpecialProtectedtitles\formatRow(), SpecialProtectedpages\formatRow(), NewFilesPager\formatRow(), CategoryPager\formatRow(), SpecialNewpages\formatRow(), AllmessagesTablePager\formatValue(), WatchedItem\fromUserTitle(), CoreParserFunctions\fullpagename(), CoreParserFunctions\fullpagenamee(), ParserTest\fuzzTest(), CoreParserFunctions\gender(), ChangesFeed\generateFeed(), GenerateSitemap\generateLimit(), MessageCache\get(), LocalRepo\getArticleID(), ResourceLoaderWikiModule\getContent(), Skin\getCopyright(), AllmessagesTablePager\getCustomisedStatuses(), MediaTransformOutput\getDescLinkAttribs(), SpecialUpload\getDupeWarning(), LinkCache\getGoodLinkFieldObj(), LinkCache\getGoodLinkID(), User\getGroupPage(), RevDel_LogItem\getHTML(), LinksUpdate\getInterlangInsertions(), Linker\getInternalLinkAttributes(), Linker\getInternalLinkAttributesObj(), Linker\getInterwikiLinkAttributes(), RecentChange\getIRCLine(), OutputPage\getJSVars(), Linker\getLinkAttributesInternal(), SpecialExport\getLinks(), RevisionDeleter\getLogLinks(), SpecialStatistics\getMostViewedPages(), MessageCache\getMsgFromNamespace(), SearchEngine\getNearMatch(), SearchEngine\getNearMatchInternal(), SpecialEditWatchlist\getNormalForm(), Skin\getPageClasses(), SpecialExport\getPagesFromCategory(), ApiBase\getParameterFromSettings(), ApiDelete\getPermissionsError(), EditPage\getPreloadedText(), ApiQueryInfo\getProtectionInfo(), RandomPage\getRandomTitle(), RawAction\getRawText(), ListredirectsPage\getRedirectTarget(), ApiPageSet\getRedirectTargets(), Skin\getRelevantUser(), DifferenceEngine\getRevisionHeader(), ApiQueryRevisions\getRollbackToken(), ResourceLoaderWikiModule\getScript(), ResourceLoaderWikiModule\getStyles(), User\getTalkPage(), DatabaseLogEntry\getTarget(), RCDatabaseLogEntry\getTarget(), Parser\getTemplateDom(), Revision\getTimestampFromId(), CLIParser\getTitle(), UploadBase\getTitle(), LogEventsList\getTitleInput(), LogPage\getTitleLink(), ResourceLoaderWikiModule\getTitleMtimes(), User\getTokenUrl(), ApiQueryInfo\getUnblockToken(), Interwiki\getURL(), SpecialEditWatchlist\getWatchlist(), WikiImporter\handlePage(), DumpRenderer\handleRevision(), DumpIterator\handleRevision(), BackupReader\handleRevision(), Title\indexTitle(), ApiPageSet\initFromQueryResult(), SearchResult\initFromTitle(), MediaWiki\initializeArticle(), SideBarTest\initMessagesHref(), ImageGallery\insert(), HTMLCacheUpdate\insertJobsFromTitles(), ChangesList\insertLog(), SearchEngineTest\insertPage(), Parser\interwikiTransclude(), HTMLCacheUpdate\invalidateTitles(), LinkCache\isBadLink(), User\isBlockedFrom(), User\isWatched(), Revision\loadFromTimestamp(), Revision\loadFromTitle(), SeleniumTestSuite\loadPage(), Selenium\loadPage(), LogEventsList\logActionLinks(), LogEventsList\logLine(), GenerateSitemap\main(), MediaWiki\main(), SkinTemplate\makeArticleUrlDetails(), User\makeGroupLinkHTML(), User\makeGroupLinkWiki(), ApiBase\makeHelpArrayToString(), Skin\makeI18nUrl(), Parser\makeImage(), Skin\makeKnownUrlDetails(), BaseTemplate\makeLink(), Skin\makeMainPageUrl(), Title\makeName(), Skin\makeNSUrl(), SpecialRecentChanges\makeOptionsLink(), LogFormatter\makePageLink(), Skin\makeSpecialUrl(), Skin\makeSpecialUrlSubpage(), SkinTemplate\makeTalkUrlDetails(), Title\makeTitle(), Title\makeTitleSafe(), Skin\makeUrl(), Skin\makeUrlDetails(), MostlinkedPage\makeWlhLink(), MostlinkedTemplatesPage\makeWlhLink(), WantedQueryPage\makeWlhLink(), TitleCleanup\moveIllegalPage(), TitleCleanup\moveInconsistentPage(), CoreParserFunctions\mwnamespace(), CoreParserFunctions\namespacee(), XmlDumpWriter\namespaces(), ForeignAPIRepo\newFile(), FileRepo\newFile(), LocalRepo\newFromArchiveName(), Title\newFromID(), SquidUpdate\newFromLinksTo(), Category\newFromName(), Title\newFromRedirectArray(), Title\newFromRedirectInternal(), Category\newFromRow(), HTMLFileCache\newFromTitle(), Revision\newFromTitle(), Article\newFromTitle(), Category\newFromTitle(), SearchResult\newFromTitle(), SquidUpdate\newFromTitles(), RecentChange\newLogEntry(), Title\newMainPage(), SquidUpdate\newSimplePurge(), Linker\normaliseSpecialPage(), RecentChange\notifyEdit(), RecentChange\notifyLog(), RecentChange\notifyNew(), Article\onArticleCreate(), WikiPage\onArticleCreate(), Article\onArticleDelete(), WikiPage\onArticleDelete(), Article\onArticleEdit(), WikiPage\onArticleEdit(), LanguageConverter\OnArticleSaveComplete(), SpecialPasswordReset\onSubmit(), InfoAction\onView(), XmlDumpWriter\openPage(), ParserOptions\optionsHash(), ApiQuery\outputGeneralPageInfo(), SkinTemplate\outputPage(), SpecialSpecialpages\outputPageList(), ImageQueryPage\outputResults(), RdfMetaData\page(), WikiExporter\pageByName(), WikiExporter\pageByTitle(), WikiImporter\pageCallback(), InfoAction\pageCountInfo(), WikiPage\pageDataFromTitle(), CoreParserFunctions\pagename(), CoreParserFunctions\pagenamee(), CoreParserFunctions\pagesize(), LegacyTemplate\pageTitleLinks(), MessageCache\parse(), LanguageConverter\parseCachedTable(), MediaWiki\parseTitle(), MediaWiki\performAction(), MediaWiki\performRequest(), ApiQueryBacklinks\prepareSecondQuery(), ApiQueryBacklinks\processContinue(), ApiPageSet\processDbRow(), CompareParsers\processRevision(), TitleCleanup\processRow(), ImageCleanup\processRow(), WatchlistCleanup\processRow(), WikiImporter\processTitle(), ApiPageSet\processTitlesArray(), LegacyTemplate\protectThisPage(), PurgeList\purgeList(), PurgeList\purgeNamespace(), StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), DoubleRedirectsPage\reallyGetQueryInfo(), EnhancedChangesList\recentChangesLine(), PatrolLog\record(), User\removeWatch(), Parser\renderImageGallery(), MessageCache\replace(), LinkHolderArray\replaceInternal(), Parser_LinkHooks\replaceInternalLinksCallback(), ApiImportReporter\reportPage(), ImportReporter\reportPage(), NamespaceConflictChecker\resolveConflict(), ApiComparePages\revisionOrTitle(), SpecialComparePages\revOrTitle(), ApiQueryImages\run(), ApiQueryIWBacklinks\run(), ApiQueryProtectedTitles\run(), ApiQueryLangBacklinks\run(), ApiQuerySearch\run(), ApiQueryWatchlistRaw\run(), ApiQueryExtLinksUsage\run(), ApiQueryCategoryMembers\run(), ApiQueryAllLinks\run(), ApiQueryCategories\run(), ApiQueryAllpages\run(), ApiQueryQueryPage\run(), ApiQueryLinks\run(), ParserTest\runTest(), RecentChange\save(), UpdateSearchIndex\searchIndexUpdateCallback(), EditPage\setContextTitle(), ImageGallery\setContextTitle(), EditPage\setHeaders(), Revision\setTitle(), MagicVariableTest\setUp(), ProtectionForm\show(), EditPage\showCustomIntro(), OutputPage\showErrorPage(), SpecialFilepath\showForm(), SpecialRevisionDelete\showForm(), SpecialBookSources\showList(), SpecialUndelete\showList(), MovePageForm\showLogFragment(), LogEventsList\showOptions(), SpecialProtectedtitles\showOptions(), SpecialProtectedpages\showOptions(), MovePageForm\showSubpages(), SpecialEditWatchlist\showTitles(), SpecialUpload\showViewDeletedLinks(), CoreParserFunctions\special(), Parser\startExternalParse(), Parser\startParse(), ExtraParserTest\statelessFetchTemplate(), Parser\statelessFetchTemplate(), CoreParserFunctions\subjectpagename(), CoreParserFunctions\subjectpagenamee(), CoreParserFunctions\subjectspace(), CoreParserFunctions\subjectspacee(), WebInstaller_Name\submit(), CoreParserFunctions\subpagename(), CoreParserFunctions\subpagenamee(), SkinTemplate\tabAction(), LegacyTemplate\talkLink(), CoreParserFunctions\talkpagename(), CoreParserFunctions\talkpagenamee(), CoreParserFunctions\talkspace(), CoreParserFunctions\talkspacee(), ArticleTablesTest\testbug14404(), TitleTest\testBug31100FixSpecialName(), TestSample\testCheckMainPageTitleIsConsideredLocal(), ExtraParserTest\testCleanSig(), ExtraParserTest\testCleanSigDisabled(), TestSample\testCreateBasicListOfTitles(), EditPageTest\testExtractSectionTitle(), NewParserTest\testFuzzTests(), ParserOptionsTest\testGetParserCacheKeyWithDynamicDates(), ExtraParserTest\testGetPreloadText(), TitleMethodsTest\testHasSubjectNamespace(), TitleMethodsTest\testInNamespace(), TitleTest\testIsValidMoveOperation(), ExtraParserTest\testParse(), NewParserTest\testParserTest(), ExtraParserTest\testPreprocess(), ExtraParserTest\testPreSaveTransform(), TestSample\testSetUpMainPageTitleForNextTest(), TemplateCategoriesTest\testTemplateCategories(), TestSample\testTitleObjectFromObject(), TestSample\testTitleObjectStringConversion(), ApiQueryTest\testTitlesAreRejectedIfInvalid(), ExtraParserTest\testTrackingCategory(), ExtraParserTest\testTrackingCategorySpecial(), GlobalWithDBTest\testWfIsBadImage(), PrefixSearch\titleSearch(), ApiQueryBase\titleToKey(), ThumbnailImage\toHtml(), MessageCache\transform(), Parser\transformMsg(), SpecialEditWatchlist\unwatchTitles(), MockSearch\update(), SearchUpdateTest\update(), SearchMssql\update(), SearchIBM_DB2\update(), SearchOracle\update(), SearchSqlite\update(), SearchMySQL\update(), Maintenance\updateSearchIndexForPage(), SearchMssql\updateTitle(), SearchIBM_DB2\updateTitle(), SearchOracle\updateTitle(), SearchSqlite\updateTitle(), SearchMySQL\updateTitle(), CoreParserFunctions\urlFunction(), ApiFileRevert\validateParameters(), LegacyTemplate\variantLinks(), CategoryPage\view(), Article\viewRedirect(), LegacyTemplate\watchThisPage(), SpecialEditWatchlist\watchTitles(), wfFindFile(), wfIsBadImage(), wfLocalFile(), wfProxyCheck(), wfStreamThumb(), wfViewPrevNext(), SpecialWhatLinksHere\wlhLink(), and XmlDumpWriter\writeLogItem().

$uncompressedSize = 0

Definition at line 64 of file testCompression.php.