Symbol | Count | Wall Time | % |
---|
Metrics for this Call | | | |
strlen | 4,087,894 | 1,295,364 us | 100.0% |
Parent Calls | | | |
ArcanistConfigurationManager::getUserConfigurationFileLocation | 1 | 0 us | |
Filesystem::walkToRoot | 37 | 3 us | |
FileList::contains | 7 | 0 us | |
ArcanistWorkingCopyIdentity::readLocalArcConfig | 1 | 0 us | |
Filesystem::resolvePath | 86 | 39 us | |
FileFinder::getFiles | 1 | 0 us | |
PhutilURI::setPath | 438 | 295 us | |
PhutilURI::__toString | 1,607 | 599 us | |
xsprintf | 24,815 | 5,939 us | |
LinesOfALarge::setDelimiter | 5 | 5 us | |
LinesOfALarge::next | 5,638 | 272 us | |
ExecFuture::readStdout | 358 | 13 us | |
LinesOfALargeExecFuture::readMore | 350 | 53 us | |
ExecFuture::isReady | 2,612 | 1,499 us | |
ExecFuture::readAndDiscard | 6,916 | 542 us | |
PhutilJSON::encodeFormattedObject | 4 | 0 us | |
PhutilJSON::encodeFormattedObject@1 | 8 | 0 us | |
PhabricatorUIConfigOptions::getOptions | 12 | 0 us | |
PhabricatorLiskDAO::getStorageNamespace | 9,692 | 4,381 us | |
PhutilOpaqueEnvelope::mask | 3,006 | 1,327 us | |
PhabricatorLiskDAO::getTableName | 12,248 | 7,070 us | |
xsprintf_query | 56,324 | 125,977 us | |
PhabricatorEnv::initializeCommonEnvironment | 1 | 0 us | |
PhutilClassMapQuery::loadMap | 132 | 115 us | |
Filesystem::readRandomBytes | 1,002 | 448 us | |
xsprintf_command | 899 | 989 us | |
FileFinder::find | 3 | 4 us | |
Filesystem::readablePath | 7,696 | 745 us | |
PhutilTestCase::endCoverage | 2,008,969 | 954,987 us | |
ArcanistUnitConsoleRenderer::renderUnitResult | 287 | 46 us | |
ArcanistDiffParser::parseDiff | 126 | 65 us | |
phutil_split_lines | 303 | 3,588 us | |
ArcanistDiffParser::nextNonemptyLine | 68 | 19 us | |
ArcanistDiffParser::parseChangeset | 2,777 | 450 us | |
PhabricatorApplicationQuery::loadPage | 190 | 282 us | |
ArcanistDiffHunk::getChangedLines | 2,705 | 261 us | |
DifferentialChangesetParser::detectCopiedCode | 1,419 | 256 us | |
DifferentialHunk::makeContent | 64 | 27 us | |
DiffusionRequest::generateDiffusionURI | 48 | 20 us | |
DiffusionRequest::parseRequestBlob | 27 | 14 us | |
HeraldField::getFieldConstant | 42 | 2 us | |
AlmanacNames::validateServiceOrDeviceName | 28 | 100 us | |
AphrontRedirectResponse::getURIForRedirect | 14 | 14 us | |
PhabricatorEnv::isValidLocalURIForLink | 16 | 17 us | |
PhabricatorEnv::requireValidRemoteURIForLink | 61 | 67 us | |
PhutilLexer::getTokens | 2,531 | 1,996 us | |
PhutilSimpleOptions::parse | 1 | 1 us | |
PhutilSimpleOptions::normalizeKey | 1 | 1 us | |
PhabricatorUser::validateUsername | 133 | 309 us | |
PhabricatorUserEmail::isValidAddress | 295 | 489 us | |
PhabricatorQuery::flattenSubclause | 4,986 | 1,458 us | |
PhabricatorUser::save | 119 | 170 us | |
PhabricatorTypeaheadDatasource::tokenizeString | 142 | 35 us | |
PhabricatorApplicationTransactionEditor::validateIsEmptyTextField | 40 | 52 us | |
PhabricatorPolicyQuery::isObjectPolicy | 1,848 | 3,290 us | |
PhabricatorPeopleQuery::buildWhereClauseParts | 72 | 85 us | |
PhabricatorFile::writeToEngine | 30 | 32 us | |
PhabricatorFile::buildFromFileData | 17 | 6 us | |
PhutilRemarkupEngine::isEmptyBlock | 20 | 5 us | |
PhutilRemarkupDefaultBlockRule::markupText | 20 | 2,828 us | |
PhabricatorFile::getCDNURI | 18 | 18 us | |
PhabricatorApplicationTransaction::hasComment | 4 | 5 us | |
xsprintf@1 | 468 | 120 us | |
xsprintf_command@1 | 468 | 611 us | |
DifferentialCommitMessageParser::parseCorpus | 13 | 1 us | |
PhutilUTF8StringTruncator::setTerminator | 29 | 32 us | |
phutil_utf8v | 506 | 275 us | |
PhutilUTF8StringTruncator::truncateString | 277 | 36 us | |
DifferentialChangesetParser::getHighlightFuture | 28 | 23 us | |
DifferentialChangesetParser::calculateGapsMaskAndDepths | 152 | 4 us | |
ArcanistDiffUtils::generateIntralineDiff | 40 | 25 us | |
ArcanistDiffUtils::computeIntralineEdits | 16 | 9 us | |
ArcanistDiffUtils::applyIntralineDiff | 32 | 34 us | |
PhutilRope::append | 10 | 5 us | |
PhutilChannel::isReadBufferEmpty | 5 | 5 us | |
PhutilChannel::update | 29 | 12 us | |
phutil_fwrite_nonblocking_stream | 5 | 5 us | |
PhutilRope::removeBytesFromHead | 5 | 5 us | |
PhutilProtocolChannel::read | 14 | 14 us | |
DiffusionMercurialWireClientSSHProtocolChannel::readProtocolBytes | 4 | 5 us | |
DiffusionMercurialWireClientSSHProtocolChannel::decodeStream | 4 | 0 us | |
DiffusionMercurialWireClientSSHProtocolChannel::newDataMessage | 3 | 3 us | |
DiffusionSubversionWireProtocol::writeData | 52 | 15 us | |
DiffusionSubversionWireProtocol::serializeStruct | 1 | 1 us | |
PhabricatorCaches::maybeDeflateData | 19 | 36 us | |
HarbormasterBuildPlanQuery::buildWhereClauseParts | 20 | 22 us | |
PhabricatorGlobalLock::newLock | 7 | 5 us | |
HarbormasterBuildStep::getName | 2 | 5 us | |
HeraldObjectTranscript::truncateValue | 5 | 2 us | |
HeraldObjectTranscript::truncateValue@1 | 4 | 1 us | |
PhabricatorLiskDAO::chunkSQL | 139 | 65 us | |
ManiphestTaskStatus::isValidStatusConstant | 40 | 70 us | |
ManiphestTaskQuery::buildFullTextWhereClause | 38 | 62 us | |
PhabricatorQuery::flattenSubclause@1 | 38 | 31 us | |
PhabricatorCursorPagedPolicyAwareQuery::isCustomFieldOrderKey | 24 | 38 us | |
AphrontRequest::getPrefixedCookieName | 7 | 16 us | |
PhabricatorAuthStartController::handleRequest | 7 | 12 us | |
PHUIInfoView::render | 7 | 12 us | |
PhabricatorStandardPageView::getTitle | 18 | 72 us | |
PhabricatorBarePageView::getHead | 9 | 19 us | |
DarkConsoleCore::sanitizeForJSON@3 | 450 | 828 us | |
DarkConsoleCore::sanitizeForJSON@2 | 1,098 | 888 us | |
DarkConsoleCore::sanitizeForJSON@1 | 54 | 97 us | |
DarkConsoleCore::sanitizeForJSON@4 | 54 | 67 us | |
PhabricatorUser::getFullName | 34 | 41 us | |
PhutilDocblockParser::parse | 1,786 | 124 us | |
PhabricatorEnv::requireValidRemoteURIForFetch | 16 | 26 us | |
PhabricatorPasswordHasher::getPasswordHashForStorage | 1 | 1 us | |
PhabricatorMailReceiver::stripMailboxPrefix | 140 | 119 us | |
PhabricatorMetaMTAEmailBodyParser::stripCommands | 214 | 10 us | |
PhabricatorMetaMTAMailBody::addRawSection | 2 | 2 us | |
PhabricatorMetaMTAMail::sendNow | 7 | 7 us | |
PhabricatorMetaMTAReceivedMail::sendExceptionMail | 8 | 9 us | |
PhabricatorMailReceiver::loadSender | 1 | 1 us | |
PhutilQueryStringParser::parseQueryStringToPairList | 61 | 22 us | |
PhutilQueryStringParser::parseQueryString | 39 | 0 us | |
PhutilContextFreeGrammar::applyRules@3 | 680 | 239 us | |
PhutilContextFreeGrammar::applyRules@2 | 480 | 161 us | |
PhutilContextFreeGrammar::applyRules@1 | 319 | 104 us | |
PhutilContextFreeGrammar::applyRules | 151 | 41 us | |
PhabricatorOwnersPackageTestCase::testFindLongestPathsPerPackage | 3 | 3 us | |
array_map | 3 | 0 us | |
PhabricatorPasswordHasher::getAllHashers | 6 | 6 us | |
PhabricatorLocalDiskFileStorageEngine::canWriteFiles | 4 | 4 us | |
PhabricatorS3FileStorageEngine::canWriteFiles | 4 | 3 us | |
PhabricatorRepository::getSubversionPathURI | 141 | 87 us | |
PhabricatorRepository::getSubversionBaseURI | 20 | 25 us | |
PassphraseCredentialQuery::buildWhereClauseParts | 2 | 2 us | |
PhabricatorSpacesNamespaceEditor::getCustomTransactionOldValue | 7 | 11 us | |
PhabricatorTOTPAuthFactor::base32Decode | 4 | 0 us | |
phutil_parse_bytes | 12 | 10 us | |
PhabricatorRepositoryQuery::buildWhereClauseParts | 58 | 32 us | |
DiffusionLowLevelGitRefQuery::executeQuery | 6 | 3 us | |
PhabricatorGitGraphStream::parseUntil | 8 | 0 us | |
PhabricatorRepositoryGitCommitChangeParserWorker::parseCommitChanges | 22 | 3 us | |
PhabricatorMercurialGraphStream::parseUntil | 8 | 1 us | |
PhabricatorMercurialGraphStream::parseParents | 8 | 3 us | |
ArcanistMercurialParser::parseMercurialStatusDetails | 7 | 2 us | |
ArcanistMercurialParser::parseMercurialLog | 7 | 1 us | |
CommandException::summarize | 8 | 2,190 us | |
PhabricatorRepositorySvnCommitChangeParserWorker::lookupPathFileTypes | 12 | 17 us | |
PhabricatorRepositorySvnCommitChangeParserWorker::parseCommitChanges | 28 | 23 us | |
Filesystem::remove | 16 | 7 us | |
ArcanistUnitTestResult::mergeCoverage | 1,918,040 | 167,126 us | |
Child Calls | | | |
PhutilSafeHTML::__toString | 48 | 5,854 us | 0.5% |
PhutilCommandString::__toString | 2 | 2,177 us | 0.2% |