XHProf
preg_replace Profile
XHProf Profile
Symbol
Count
Wall Time
%
Metrics for this Call
preg_replace
27,775
44,852 us
100.0%
Parent Calls
PhabricatorApplicationConfigOptions::deformat
16
69 us
PhutilConsoleFormatter::formatString
24,328
33,950 us
ArcanistDiffParser::stripGitPathPrefix
100
425 us
AphrontRequest::flattenData
6
37 us
AphrontRequest::flattenData@2
3
11 us
AphrontRequest::flattenData@1
3
8 us
CelerityResourceTransformer::transformResource
4
71 us
Filesystem::createTemporaryDirectory
72
578 us
PhabricatorFile::normalizeFileName
36
152 us
phutil_tag
43
419 us
ArcanistDiffUtils::computeIntralineEdits
60
296 us
DiffusionPathIDQuery::normalizePath
23
142 us
CelerityStaticResourceResponse::getURI
76
548 us
PhutilDocblockParser::parse
2,160
5,014 us
PhabricatorMetaMTAEmailBodyParser::stripQuotedText
284
501 us
PhabricatorMetaMTAEmailBodyParser::stripSignature
284
568 us
PhabricatorSlug::normalize
210
675 us
PhabricatorRepository::filterMercurialDebugOutput
32
79 us
PhabricatorRepositoryURINormalizer::getNormalizedPath
19
118 us
phutil_parse_bytes
12
66 us
phutil_censor_credentials
4
1,125 us
Child Calls
PhutilCommandString::__toString
1
1,072 us
2.4%