XHProf
trim Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
trim
8,601
11,617 us
100.0%
Parent Calls
Filesystem::resolvePath
86
3,434 us
Filesystem::resolveBinary
6
13 us
FileFinder::find
3
163 us
PhutilXHPASTBinary::getVersion
1
3 us
ArcanistDiffParser::parseDiff
63
182 us
ArcanistDiffParser::getLineTrimmed
192
377 us
ArcanistDiffParser::nextNonemptyLine
68
111 us
DifferentialChangesetParser::detectCopiedCode
2,877
2,247 us
CelerityResourceTransformer::transformResource
1
1 us
CelerityResourceTransformer::translateResourceURI
89
142 us
PhabricatorTypeaheadDatasource::tokenizeString
144
233 us
PhabricatorFile::getViewableMimeType
41
46 us
PhutilRemarkupEngine::isEmptyBlock
20
81 us
PhutilRemarkupDefaultBlockRule::markupText
20
73 us
PhabricatorObjectRemarkupRule::markupObject
8
16 us
PhabricatorFile::normalizeFileName
18
17 us
DifferentialCommitMessageParser::parseCorpus
23
15 us
DifferentialHunkParser::updateChangeTypesForWhitespaceMode
12
18 us
DifferentialHunkParser::getHasChanges
4
11 us
DiffusionPathIDQuery::normalizePath
23
34 us
DiffusionPathIDQuery::expandPathToRoot
19
13 us
PhutilEmailAddress::__construct
385
871 us
PhutilDocblockParser::parse
2,985
1,400 us
CelerityResourceMapGenerator::getProvidesAndRequires
718
922 us
PhabricatorMailReceiver::getRawAddress
38
46 us
PhabricatorMetaMTAEmailBodyParser::stripTextBody
71
33 us
PhabricatorMetaMTAEmailBodyParser::stripCommands
288
379 us
ManiphestTaskMailReceiver::loadObject
4
11 us
PhabricatorSlug::normalize
116
65 us
PhabricatorRepositoryURINormalizer::getNormalizedPath
35
59 us
phutil_parse_bytes
12
52 us
PhabricatorGitGraphStream::parseUntil
8
10 us
PhabricatorRepositoryGitCommitChangeParserWorker::parseCommitChanges
22
58 us
PhabricatorRepositorySvnCommitChangeParserWorker::parseCommitChanges
36
61 us
PhabricatorRepositorySvnCommitChangeParserWorker::expandAllParentPaths
57
154 us
PhabricatorMercurialGraphStream::parseUntil
8
25 us
PhabricatorMercurialGraphStream::parseParents
8
15 us
ArcanistMercurialParser::parseMercurialStatusDetails
7
20 us
ArcanistMercurialParser::parseMercurialLog
31
43 us
PhortuneCurrency::newFromString
54
163 us
Child Calls
TempFile::__toString
13
3,241 us
27.9%