Skip to content

Instantly share code, notes, and snippets.

@sreichel
Last active May 11, 2023 13:55
Show Gist options
  • Save sreichel/85730194e5e6ad52876700b4b90aafc3 to your computer and use it in GitHub Desktop.
Save sreichel/85730194e5e6ad52876700b4b90aafc3 to your computer and use it in GitHub Desktop.
Test getData()
Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl. CPU
(microsecs)
ICpu%Excl. CPU
(microsec)
ECPU%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
testGetData 200,002 13.6% 501,593 29.0% 220,755 12.8% 510,002 29.9% 246,097 14.4% 1,120 0.1% 584 0.1% 0 0.0% 0 0.0%
testGetDataNew 200,002 13.6% 306,234 17.7% 219,524 12.7% 352,464 20.7% 234,321 13.7% 1,136 0.1% 584 0.1% 0 0.0% 0 0.0%
Varien_Object::getData 200,009 13.6% 280,856 16.3% 209,106 12.1% 263,905 15.5% 165,003 9.7% 2,248 0.2% 1,720 0.2% 0 0.0% 0 0.0%
Varien_Object::getDataNew 200,002 13.6% 86,710 5.0% 86,710 5.0% 118,143 6.9% 118,143 6.9% 552 0.1% 552 0.1% 0 0.0% 0 0.0%
strpos 201,378 13.7% 72,311 4.2% 72,311 4.2% 98,902 5.8% 98,902 5.8% 48,672 5.3% 48,672 5.3% 2,496 0.2% 2,496 0.2%
Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl. CPU
(microsecs)
ICpu%Excl. CPU
(microsec)
ECPU%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
testGetDataMagic 400,004 7.1% 2,405,156 39.2% 452,587 7.4% 2,451,155 40.3% 436,778 7.2% 1,776 0.2% 592 0.1% 0 0.0% 0 0.0%
Varien_Object::__call 400,022 7.1% 1,952,674 31.9% 1,201,382 19.6% 2,014,377 33.1% 980,791 16.1% 8,872 0.8% -12,798,144 -1221.5% 0 0.0% 0 0.0%
testGetData 400,004 7.1% 1,353,212 22.1% 425,293 6.9% 1,341,813 22.1% 420,546 6.9% 2,336 0.2% 584 0.1% 0 0.0% 0 0.0%
Varien_Object::getData 800,015 14.1% 1,212,056 19.8% 754,894 12.3% 1,256,468 20.7% 705,774 11.6% 4,064 0.4% -150,399,656 -14354.5% 0 0.0% 0 0.0%
testGetDataByKey 400,004 7.1% 1,016,441 16.6% 427,619 7.0% 1,102,180 18.1% 415,149 6.8% 1,760 0.2% 592 0.1% 0 0.0% 0 0.0%
Varien_Object::getDataByKey 400,004 7.1% 588,822 9.6% 427,230 7.0% 687,031 11.3% 428,975 7.1% 1,168 0.1% 616 0.1% 0 0.0% 0 0.0%
Varien_Object::getDataByPath 200,002 3.5% 302,322 4.9% 221,218 3.6% 358,829 5.9% 229,178 3.8% 75,201,904 7177.5% 616 0.1% 0 0.0% 0 0.0%
substr 800,136 14.1% 289,225 4.7% 289,225 4.7% 440,649 7.2% 440,649 7.2% 12,809,000 1222.5% 12,809,000 1222.5% 0 0.0% 0 0.0%
Varien_Object::_underscore 400,022 7.1% 177,969 2.9% 177,956 2.9% 257,736 4.2% 257,736 4.2% 2,992 0.3% 800 0.1% 0 0.0% 0 0.0%
explode 401,946 7.1% 162,522 2.7% 162,522 2.7% 231,844 3.8% 231,844 3.8% 151,370,728 14447.2% 151,370,728 14447.2% 2,536 0.2% 2,536 0.2%
Varien_Object::_getData 400,141 7.1% 161,634 2.6% 161,634 2.6% 258,056 4.2% 258,056 4.2% 6,232 0.6% 6,232 0.6% 0 0.0% 0 0.0%
strpos 201,373 3.6% 74,933 1.2% 74,933 1.2% 89,672 1.5% 89,672 1.5% 7,712 0.7% 7,712 0.7% 1,392 0.1% 1,392 0.1%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment