XHProf PhortuneCurrency::newFromString Profile
XHProf Profile
XHProf Profile
Symbol | Count | Wall Time | % |
---|---|---|---|
Metrics for this Call | |||
PhortuneCurrency::newFromString | 54 | 63,060 us | 100.0% |
Parent Calls | |||
PhortuneCurrencyTestCase::testCurrencyFormatBareValue | 5 | 3,618 us | |
PhortuneCurrencyTestCase::testCurrencyFromString | 12 | 12,872 us | |
PhortuneCurrencyTestCase::testInvalidCurrencyFromString | 6 | 6,788 us | |
PhortuneCurrencyTestCase::testCurrencyFormatForDisplay | 5 | 3,964 us | |
PhortuneCurrencyTestCase::testCurrencyRanges | 2 | 3,273 us | |
PhortuneCurrency::assertInRange | 18 | 20,666 us | |
PhortuneCurrencyTestCase::testAddCurrency | 6 | 11,879 us | |
Child Calls | |||
PhortuneCurrency::newFromValueAndCurrency | 48 | 21,480 us | 34.1% |
idx | 49 | 10,758 us | 17.1% |
PhortuneCurrency::throwFormatException | 5 | 4,500 us | 7.1% |
pht | 1 | 667 us | 1.1% |
preg_match | 54 | 384 us | 0.6% |
trim | 54 | 101 us | 0.2% |
round | 49 | 100 us | 0.2% |
substr_count | 101 | 82 us | 0.1% |
str_replace | 49 | 77 us | 0.1% |
Exception::__construct | 1 | 1 us | 0.0% |