Run Report
Run #674dfe97af897: XHProf Run (Namespace=macron-api)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):27,871 microsecs
Total Incl. MemUse (bytes):1,085,240 bytes
Total Incl. PeakMemUse (bytes):1,317,432 bytes
Number of Function Calls:1,696


[View Full Callgraph]


Displaying top 100 functions: Sorted by Incl. Wall Time (microsec) [ display all ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
main() 1 0.1% 27,871 100.0% 26 0.1% 1,085,240 100.0% -2,096 -0.2% 1,317,432 100.0% 568 0.0%
yii\base\Application::run 1 0.1% 11,447 41.1% 7 0.0% 1,071,512 98.7% 696 0.1% 1,055,904 80.1% 376 0.0%
yii\base\Component::trigger 6 0.4% 11,340 40.7% 38 0.1% 969,568 89.3% 2,560 0.2% 841,528 63.9% 128 0.0%
yii\web\Application::handleRequest 1 0.1% 11,293 40.5% 5 0.0% 1,031,760 95.1% 408 0.0% 1,031,760 78.3% 440 0.0%
yii\base\Module::runAction 1 0.1% 11,197 40.2% 4 0.0% 1,011,416 93.2% 288 0.0% 1,010,368 76.7% 0 0.0%
yii\base\Controller::runAction 1 0.1% 10,982 39.4% 8 0.0% 875,816 80.7% 560 0.1% 870,552 66.1% 64 0.0%
api\controllers\UserController::beforeAction 1 0.1% 10,833 38.9% 3 0.0% 843,360 77.7% 680 0.1% 836,128 63.5% 360 0.0%
api\components\ModelController::beforeAction 1 0.1% 10,804 38.8% 2 0.0% 837,792 77.2% 632 0.1% 818,816 62.2% 376 0.0%
yii\web\Controller::beforeAction 1 0.1% 10,802 38.8% 1 0.0% 837,160 77.1% 616 0.1% 818,440 62.1% 160 0.0%
yii\base\Controller::beforeAction 1 0.1% 10,801 38.8% 3 0.0% 836,544 77.1% 664 0.1% 818,280 62.1% 0 0.0%
yii\base\ActionFilter::beforeFilter 3 0.2% 10,672 38.3% 7 0.0% 812,016 74.8% 1,608 0.1% 809,856 61.5% 1,448 0.1%
yii\filters\auth\CompositeAuth::beforeAction 1 0.1% 10,575 37.9% 1 0.0% 786,840 72.5% 616 0.1% 786,240 59.7% 360 0.0%
yii\filters\auth\AuthMethod::beforeAction 1 0.1% 10,574 37.9% 7 0.0% 786,224 72.4% 888 0.1% 785,880 59.7% 504 0.0%
yii\filters\auth\CompositeAuth::authenticate 1 0.1% 10,532 37.8% 5 0.0% 709,880 65.4% 1,136 0.1% 709,136 53.8% 440 0.0%
yii\filters\auth\QueryParamAuth::authenticate 1 0.1% 10,510 37.7% 4 0.0% 704,848 64.9% 760 0.1% 704,848 53.5% 696 0.1%
yii\web\User::loginByAccessToken 1 0.1% 10,352 37.1% 5 0.0% 615,104 56.7% 680 0.1% 630,208 47.8% 384 0.0%
api\macronModels\user\UserIdentity::findIdentityByAccessToken 1 0.1% 9,762 35.0% 10 0.0% 406,072 37.4% -1,600 -0.1% 420,760 31.9% 320 0.0%
yii\db\ActiveQuery::one 1 0.1% 9,490 34.0% 2 0.0% 240,160 22.1% 616 0.1% 253,384 19.2% 256 0.0%
yii\db\Query::one 1 0.1% 9,488 34.0% 83 0.3% 239,544 22.1% -3,552 -0.3% 253,128 19.2% 256 0.0%
yii\db\Command::queryOne 1 0.1% 8,915 32.0% 2 0.0% 48,320 4.5% 584 0.1% 57,984 4.4% 208 0.0%
yii\db\Command::queryInternal 1 0.1% 8,913 32.0% 23 0.1% 47,736 4.4% -88 -0.0% 57,776 4.4% 320 0.0%
yii\web\AssetBundle::register 1 0.1% 8,443 30.3% 2 0.0% 48,208 4.4% 568 0.1% 0 0.0% 0 0.0%
yii\web\View::registerAssetBundle 1 0.1% 8,441 30.3% 7 0.0% 47,640 4.4% 1,104 0.1% 0 0.0% 0 0.0%
yii\web\AssetManager::getBundle 2 0.1% 8,425 30.2% 4 0.0% 43,600 4.0% 1,512 0.1% 0 0.0% 0 0.0%
yii\web\AssetManager::loadBundle 2 0.1% 8,421 30.2% 6 0.0% 42,088 3.9% 664 0.1% 0 0.0% 0 0.0%
yii\web\AssetBundle::publish 2 0.1% 8,359 30.0% 14 0.1% 30,448 2.8% 7,240 0.7% 0 0.0% 0 0.0%
yii\web\AssetManager::publish 2 0.1% 8,260 29.6% 40 0.1% 15,360 1.4% 1,024 0.1% 0 0.0% 0 0.0%
yii\web\AssetManager::publishDirectory 2 0.1% 8,220 29.5% 27 0.1% 13,816 1.3% 1,192 0.1% 0 0.0% 0 0.0%
yii\helpers\BaseFileHelper::copyDirectory 1 0.1% 8,145 29.2% 3,732 13.4% 7,080 0.7% 896 0.1% 0 0.0% 0 0.0%
yii\base\ErrorHandler::handleException 1 0.1% 5,884 21.1% 48 0.2% -56,200 -5.2% 968 0.1% 180,984 13.7% 256 0.0%
yii\db\Command::logQuery 1 0.1% 5,364 19.2% 4 0.0% 24,952 2.3% 1,040 0.1% 33,984 2.6% 256 0.0%
yii\db\Command::getRawSql 1 0.1% 5,352 19.2% 9 0.0% 21,512 2.0% 744 0.1% 30,096 2.3% 256 0.0%
yii\db\Connection::quoteValue 1 0.1% 5,342 19.2% 2 0.0% 20,232 1.9% 664 0.1% 29,840 2.3% 320 0.0%
yii\db\Schema::quoteValue 1 0.1% 5,340 19.2% 8 0.0% 19,032 1.8% 696 0.1% 28,984 2.2% 272 0.0%
yii\db\Connection::getSlavePdo 2 0.1% 5,335 19.1% 5 0.0% 18,872 1.7% 1,200 0.1% 28,712 2.2% 304 0.0%
yii\db\Connection::getMasterPdo 2 0.1% 5,319 19.1% 3 0.0% 15,920 1.5% 600 0.1% 26,656 2.0% 256 0.0%
yii\db\Connection::open 2 0.1% 5,316 19.1% 13 0.0% 15,320 1.4% 952 0.1% 26,400 2.0% 352 0.0%
yii\log\Logger::flush 2 0.1% 5,244 18.8% 6 0.0% 86,456 8.0% 1,136 0.1% 180,728 13.7% 0 0.0%
yii\log\Dispatcher::dispatch 2 0.1% 5,238 18.8% 46 0.2% 85,320 7.9% 712 0.1% 180,728 13.7% 0 0.0%
yii\db\Connection::createPdoInstance 1 0.1% 5,094 18.3% 5,094 18.3% 968 0.1% 968 0.1% 0 0.0% 0 0.0%
yii\debug\LogTarget::collect 2 0.1% 4,788 17.2% 2 0.0% 57,360 5.3% 600 0.1% 180,728 13.7% 0 0.0%
yii\debug\LogTarget::export 1 0.1% 4,786 17.2% 201 0.7% 56,760 5.2% -13,648 -1.3% 180,728 13.7% 40,952 3.1%
yii\debug\LogTarget::updateIndexFile 1 0.1% 4,347 15.6% 4,345 15.6% 1,136 0.1% 600 0.1% 129,544 9.8% 129,544 9.8%
yii\helpers\BaseFileHelper::copyDirectory@1 2 0.1% 4,314 15.5% 4,222 15.1% 3,064 0.3% 872 0.1% 0 0.0% 0 0.0%
yii\db\Command::internalExecute 1 0.1% 3,272 11.7% 3,272 11.7% 1,528 0.1% 1,528 0.1% 0 0.0% 0 0.0%
Composer\Autoload\ClassLoader::loadClass 1 0.1% 2,033 7.3% 2 0.0% 12,672 1.2% 648 0.1% 76,304 5.8% 320 0.0%
Composer\Autoload\{closure} 1 0.1% 2,030 7.3% 113 0.4% 11,472 1.1% 16 0.0% 75,432 5.7% 31,896 2.4%
yii\BaseYii::autoload 40 2.4% 1,824 6.5% 649 2.3% 834,784 76.9% 439,168 40.5% 776,728 59.0% 378,296 28.7%
load::yii2-xhprof/OverlayAsset.php 1 0.1% 1,184 4.2% 1,184 4.2% 3,304 0.3% 3,304 0.3% 38,344 2.9% 38,344 2.9%
yii\BaseYii::autoload@1 33 1.9% 1,134 4.1% 411 1.5% 390,144 36.0% 163,528 15.1% 369,320 28.0% 145,176 11.0%
yii\BaseYii::createObject 17 1.0% 743 2.7% 23 0.1% 224,736 20.7% 5,352 0.5% 181,544 13.8% 2,528 0.2%
Composer\Autoload\ClassLoader::loadClass@1 1 0.1% 727 2.6% 3 0.0% 6,488 0.6% 680 0.1% 5,192 0.4% 0 0.0%
Composer\Autoload\{closure}@1 1 0.1% 722 2.6% 68 0.2% 5,256 0.5% -1,264 -0.1% 5,192 0.4% 5,192 0.4%
yii\BaseYii::autoload@2 28 1.7% 721 2.6% 344 1.2% 225,744 20.8% 70,952 6.5% 222,824 16.9% 75,304 5.7%
yii\di\Container::get 17 1.0% 720 2.6% 21 0.1% 219,384 20.2% 584 0.1% 179,016 13.6% 1,048 0.1%
yii\di\Container::build 17 1.0% 699 2.5% 96 0.3% 218,800 20.2% 2,424 0.2% 177,968 13.5% 3,224 0.2%
load::yii2-xhprof/DebugPanelAsset.php 1 0.1% 623 2.2% 623 2.2% 4,120 0.4% 4,120 0.4% 0 0.0% 0 0.0%
yii\web\ErrorHandler::renderException 1 0.1% 537 1.9% 10 0.0% 119,536 11.0% 872 0.1% 0 0.0% 0 0.0%
yii\web\Response::send 1 0.1% 503 1.8% 8 0.0% 113,016 10.4% 792 0.1% 0 0.0% 0 0.0%
yii\db\ActiveQuery::createCommand 1 0.1% 490 1.8% 15 0.1% 194,776 17.9% 88 0.0% 194,888 14.8% 384 0.0%
yii\di\Container::getDependencies 17 1.0% 448 1.6% 78 0.3% 169,176 15.6% 17,576 1.6% 142,864 10.8% 11,112 0.8%
yii\log\Target::collect 34 2.0% 379 1.4% 41 0.1% 26,128 2.4% -26,032 -2.4% 0 0.0% 0 0.0%
yii\BaseYii::autoload@3 21 1.2% 369 1.3% 219 0.8% 153,480 14.1% 31,656 2.9% 146,272 11.1% 23,456 1.8%
yii\debug\Module::setDebugHeaders 1 0.1% 308 1.1% 13 0.0% 83,968 7.7% 1,280 0.1% 0 0.0% 0 0.0%
yii\base\BaseObject::__construct 27 1.6% 269 1.0% 28 0.1% 61,496 5.7% 6,360 0.6% 27,824 2.1% 2,232 0.2%
yii\debug\Module::checkAccess 1 0.1% 236 0.8% 5 0.0% 48,704 4.5% 664 0.1% 0 0.0% 0 0.0%
yii\db\QueryBuilder::build 1 0.1% 231 0.8% 17 0.1% 49,080 4.5% 1,048 0.1% 48,416 3.7% 1,368 0.1%
yii\web\Request::getUserIP 4 0.2% 230 0.8% 3 0.0% 48,576 4.5% 1,736 0.2% 0 0.0% 0 0.0%
yii\web\Request::getUserIpFromIpHeaders 1 0.1% 227 0.8% 5 0.0% 46,304 4.3% 728 0.1% 0 0.0% 0 0.0%
yii\web\Request::getSecureForwardedHeaderTrustedPart 2 0.1% 221 0.8% 4 0.0% 45,056 4.2% 1,184 0.1% 0 0.0% 0 0.0%
yii\web\Request::getSecureForwardedHeaderTrustedParts 2 0.1% 217 0.8% 7 0.0% 43,872 4.0% 208 0.0% 0 0.0% 0 0.0%
yii\base\Module::createController 1 0.1% 211 0.8% 6 0.0% 135,312 12.5% 1,104 0.1% 139,816 10.6% 0 0.0%
yii\web\Request::getIpValidator 1 0.1% 206 0.7% 9 0.0% 41,912 3.9% 3,408 0.3% 0 0.0% 0 0.0%
yii\base\Module::createControllerByID 1 0.1% 204 0.7% 11 0.0% 133,672 12.3% 1,176 0.1% 139,816 10.6% 456 0.0%
yii\base\Module::get 58 3.4% 202 0.7% 28 0.1% 113,184 10.4% 6,888 0.6% 94,832 7.2% 3,624 0.3%
yii\db\QueryBuilder::buildWhere 1 0.1% 178 0.6% 2 0.0% 32,808 3.0% 616 0.1% 32,808 2.5% 464 0.0%
yii\db\QueryBuilder::buildCondition 2 0.1% 176 0.6% 2 0.0% 32,728 3.0% 768 0.1% 32,880 2.5% 920 0.1%
yii\di\ServiceLocator::get 58 3.4% 174 0.6% 16 0.1% 106,296 9.8% 584 0.1% 91,208 6.9% 256 0.0%
yii\db\Connection::getQueryBuilder 1 0.1% 174 0.6% 2 0.0% 125,144 11.5% 664 0.1% 126,376 9.6% 256 0.0%
yii\log\FileTarget::export 1 0.1% 168 0.6% 80 0.3% 13,112 1.2% -5,992 -0.6% 0 0.0% 0 0.0%
yii\db\Connection::initConnection 1 0.1% 165 0.6% 143 0.5% 2,712 0.2% 664 0.1% 0 0.0% 0 0.0%
yii\validators\IpValidator::init 1 0.1% 156 0.6% 4 0.0% 24,544 2.3% 664 0.1% 0 0.0% 0 0.0%
yii\helpers\BaseFileHelper::createDirectory 6 0.4% 154 0.6% 154 0.6% 2,472 0.2% 2,472 0.2% 0 0.0% 0 0.0%
yii\filters\auth\AuthMethod::handleFailure 1 0.1% 153 0.5% 11 0.0% 88,448 8.2% 7,728 0.7% 73,408 5.6% 7,408 0.6%
yii\BaseYii::t 7 0.4% 150 0.5% 8 0.0% 22,744 2.1% 648 0.1% 0 0.0% 0 0.0%
yii\BaseYii::autoload@4 2 0.1% 146 0.5% 41 0.1% 120,680 11.1% 18,544 1.7% 122,248 9.3% 17,056 1.3%
yii\db\QueryBuilder::buildExpression 1 0.1% 140 0.5% 4 0.0% 27,376 2.5% 680 0.1% 27,376 2.1% 592 0.0%
common\models\macronApiToken\MacronApiToken::find 1 0.1% 139 0.5% 4 0.0% 46,512 4.3% 1,368 0.1% 45,768 3.5% 272 0.0%
yii\caching\Cache::set 1 0.1% 131 0.5% 6 0.0% 3,112 0.3% 208 0.0% 0 0.0% 0 0.0%
common\components\log\FileTarget::getContextMessage 1 0.1% 131 0.5% 16 0.1% 15,280 1.4% 4,496 0.4% 0 0.0% 0 0.0%
yii\base\Component::ensureBehaviors 14 0.8% 128 0.5% 13 0.0% 24,936 2.3% 672 0.1% 9,152 0.7% 792 0.1%
yii\caching\FileCache::setValue 1 0.1% 120 0.4% 107 0.4% 2,320 0.2% 728 0.1% 0 0.0% 0 0.0%
yii\base\Component::attachBehaviorInternal 3 0.2% 113 0.4% 4 0.0% 21,296 2.0% 1,056 0.1% 8,360 0.6% 0 0.0%
yii\db\conditions\ConjunctionConditionBuilder::build 1 0.1% 106 0.4% 3 0.0% 24,096 2.2% 296 0.0% 24,184 1.8% 320 0.0%
yii\log\Logger::log 18 1.1% 105 0.4% 105 0.4% 20,520 1.9% 20,520 1.9% 64,664 4.9% 64,664 4.9%
yii\debug\Module::yii\debug\{closure} 2 0.1% 105 0.4% 4 0.0% 33,672 3.1% 1,480 0.1% 18,344 1.4% 344 0.0%
yii\db\Connection::getSchema 6 0.4% 104 0.4% 8 0.0% 23,128 2.1% 2,872 0.3% 23,696 1.8% 2,304 0.2%
yii\BaseYii::autoload@5 4 0.2% 104 0.4% 50 0.2% 101,560 9.4% 18,472 1.7% 104,616 7.9% 13,504 1.0%
yii\db\conditions\ConjunctionConditionBuilder::buildExpressionsFrom 1 0.1% 103 0.4% 4 0.0% 23,232 2.1% 1,104 0.1% 23,496 1.8% 760 0.1%
yii\web\Application::getResponse 7 0.4% 102 0.4% 7 0.0% 32,672 3.0% 3,880 0.4% 18,664 1.4% 784 0.1%
[ display all ]