XHProf PhabricatorSlug::normalize Profile
XHProf Profile
XHProf Profile
| Symbol | Count | Wall Time | % |
|---|---|---|---|
| Metrics for this Call | |||
| PhabricatorSlug::normalize | 50 | 33,793 us | 100.0% |
| Parent Calls | |||
| PhabricatorSlug::normalizeProjectSlug | 10 | 8,072 us | |
| PhabricatorSlug::getAncestry | 3 | 1,932 us | |
| PhabricatorSlugTestCase::testSlugNormalization | 33 | 21,236 us | |
| PhabricatorSlug::getDepth | 4 | 2,553 us | |
| Child Calls | |||
| phutil_utf8_strtolower | 50 | 14,026 us | 41.5% |
| preg_replace | 250 | 713 us | 2.1% |
| explode | 50 | 70 us | 0.2% |
| trim | 116 | 65 us | 0.2% |
| implode | 50 | 43 us | 0.1% |
| preg_quote | 100 | 15 us | 0.0% |