XHProf PhabricatorSlug::normalize Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
PhabricatorSlug::normalize | 42 | 26,573 us | 100.0% |
Parent Calls | |||
PhabricatorProject::setPhrictionSlug | 5 | 5,027 us | |
PhabricatorSlug::getDepth | 4 | 2,404 us | |
PhabricatorSlugTestCase::testSlugNormalization | 30 | 17,454 us | |
PhabricatorSlug::getAncestry | 3 | 1,688 us | |
Child Calls | |||
phutil_utf8_strtolower | 42 | 5,735 us | 21.6% |
preg_replace | 210 | 532 us | 2.0% |
trim | 100 | 78 us | 0.3% |
explode | 42 | 49 us | 0.2% |
implode | 42 | 45 us | 0.2% |
preg_quote | 84 | 38 us | 0.1% |