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

Overall Summary
Total Incl. Wall Time (microsec):28,253,731 microsecs
Total Incl. MemUse (bytes):89,246,216 bytes
Total Incl. PeakMemUse (bytes):82,910,736 bytes
Number of Function Calls:1,370,719


[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.0% 28,253,731 100.0% 73 0.0% 89,246,216 100.0% -12,544 -0.0% 82,910,736 100.0% 0 0.0%
yii\base\Application::run 1 0.0% 28,142,698 99.6% 18 0.0% 89,799,328 100.6% 760 0.0% 82,910,736 100.0% 0 0.0%
yii\web\Application::handleRequest 1 0.0% 28,140,070 99.6% 9 0.0% 89,389,472 100.2% 512 0.0% 82,910,736 100.0% 0 0.0%
yii\base\Module::runAction 1 0.0% 28,139,758 99.6% 10 0.0% 89,343,344 100.1% 288 0.0% 82,910,736 100.0% 0 0.0%
yii\base\Controller::runAction 1 0.0% 28,137,512 99.6% 21 0.0% 88,885,736 99.6% 752 0.0% 82,910,736 100.0% 0 0.0%
yii\base\InlineAction::runWithParams 1 0.0% 28,053,313 99.3% 12 0.0% 80,378,280 90.1% 856 0.0% 81,878,000 98.8% 192 0.0%
api\components\ConstructorController::actionUpdateMultipleColumns 1 0.0% 28,052,741 99.3% 34 0.0% 80,059,256 89.7% -4,184 -0.0% 81,646,600 98.5% 0 0.0%
api\components\actions\UpdateMultipleAction::run 2 0.0% 28,042,163 99.3% 28 0.0% 79,428,328 89.0% -1,160 -0.0% 81,057,648 97.8% 0 0.0%
api\components\actions\UpdateMultipleAction::saveModels 2 0.0% 27,519,807 97.4% 2,157 0.0% 76,707,784 86.0% 1,496 0.0% 77,973,312 94.0% 0 0.0%
api\components\ConstructorController::updateMultipleAdditionalCustomField 1 0.0% 27,079,682 95.8% 12 0.0% 72,224,576 80.9% 1,200 0.0% 72,188,944 87.1% 0 0.0%
paulzi\sortable\SortableBehavior::reorder 58 0.0% 26,476,327 93.7% 313 0.0% 66,625,184 74.7% 41,064 0.0% 67,278,936 81.1% 0 0.0%
yii\db\Connection::transaction 58 0.0% 26,475,743 93.7% 822 0.0% 66,583,584 74.6% -39,560 -0.0% 67,278,936 81.1% 0 0.0%
paulzi\sortable\SortableBehavior::paulzi\sortable\{closure} 58 0.0% 26,445,540 93.6% 62,972 0.2% 66,356,760 74.4% -1,328,808 -1.5% 67,275,032 81.1% 128 0.0%
yii\db\ActiveRecord::updateAll 11,136 0.8% 26,231,400 92.8% 7,437,735 26.3% 61,786,096 69.2% -45,237,256 -50.7% 66,784,536 80.5% 0 0.0%
yii\db\Command::execute 11,252 0.8% 17,848,986 63.2% 110,484 0.4% 85,634,608 96.0% -4,228,696 -4.7% 69,246,376 83.5% 240 0.0%
yii\db\Command::internalExecute 11,722 0.9% 17,278,983 61.2% 17,278,983 61.2% 1,615,200 1.8% 1,615,200 1.8% 0 0.0% 0 0.0%
api\components\ConstructorController::updateMultipleCustomField 1 0.0% 966,684 3.4% 95 0.0% 7,716,728 8.6% 46,200 0.1% 9,376,592 11.3% 0 0.0%
yii\db\ActiveQuery::one 234 0.0% 855,323 3.0% 1,328 0.0% 9,314,304 10.4% -127,008 -0.1% 5,022,432 6.1% 0 0.0%
yii\db\Command::queryInternal 470 0.0% 799,949 2.8% 11,662 0.0% 10,636,680 11.9% 5,546,384 6.2% 7,048,760 8.5% 118,408 0.1%
yii\db\Query::one 293 0.0% 736,985 2.6% 183,042 0.6% 4,215,672 4.7% -1,143,600 -1.3% 5,000,216 6.0% 0 0.0%
yii\db\Command::update 11,136 0.8% 706,945 2.5% 34,390 0.1% 18,541,688 20.8% -4,186,360 -4.7% 3,736 0.0% 72 0.0%
yii\log\Logger::log 36,195 2.6% 682,765 2.4% 516,857 1.8% 70,760,872 79.3% 68,987,168 77.3% 77,000,216 92.9% 45,099,000 54.4%
yii\db\Command::logQuery 11,722 0.9% 552,255 2.0% 29,651 0.1% 29,655,936 33.2% 4,408,656 4.9% 18,003,792 21.7% 256 0.0%
api\components\actions\UpdateMultipleAction::findModels 2 0.0% 522,317 1.8% 542 0.0% 2,720,600 3.0% 9,672 0.0% 3,084,336 3.7% 0 0.0%
api\components\actions\Action::findModel 116 0.0% 521,738 1.8% 1,697 0.0% 2,709,096 3.0% -244,216 -0.3% 3,084,336 3.7% 0 0.0%
yii\db\pgsql\QueryBuilder::update 11,136 0.8% 513,278 1.8% 20,980 0.1% 5,977,928 6.7% 664 0.0% 1,416 0.0% 0 0.0%
yii\db\Command::queryOne 294 0.0% 508,847 1.8% 400 0.0% 3,639,544 4.1% 1,104 0.0% 4,829,808 5.8% 0 0.0%
yii\db\ActiveQuery::all 176 0.0% 438,004 1.6% 409 0.0% 6,756,048 7.6% 2,272 0.0% 2,791,056 3.4% 512 0.0%
yii\db\Query::all 176 0.0% 437,595 1.5% 111,381 0.4% 6,753,776 7.6% -580,352 -0.7% 2,790,544 3.4% 512 0.0%
yii\db\QueryBuilder::update 11,136 0.8% 384,557 1.4% 59,548 0.2% 5,975,480 6.7% -8,284,456 -9.3% 1,416 0.0% 144 0.0%
yii\db\Connection::createCommand 11,722 0.9% 374,871 1.3% 64,577 0.2% 4,528,360 5.1% 2,936 0.0% 239,528 0.3% 0 0.0%
yii\base\Model::validate 116 0.0% 369,291 1.3% 1,861 0.0% 2,142,408 2.4% -191,832 -0.2% 3,216,664 3.9% 0 0.0%
yii\validators\Validator::validateAttributes 1,102 0.1% 351,630 1.2% 3,576 0.0% 2,013,536 2.3% -413,176 -0.5% 3,197,904 3.9% 0 0.0%
yii\BaseYii::createObject 13,778 1.0% 351,453 1.2% 36,996 0.1% 7,256,792 8.1% 12,040 0.0% 1,157,008 1.4% 36,440 0.0%
common\db\ActiveRecord::save 116 0.0% 340,475 1.2% 301 0.0% 2,507,616 2.8% 616 0.0% 4,134,664 5.0% 0 0.0%
yii\db\BaseActiveRecord::save 116 0.0% 340,174 1.2% 331 0.0% 2,507,000 2.8% 664 0.0% 4,134,664 5.0% 0 0.0%
yii\db\ActiveRecord::update 116 0.0% 339,796 1.2% 774 0.0% 2,505,800 2.8% 920 0.0% 4,134,664 5.0% 0 0.0%
yii\di\Container::get 13,779 1.0% 314,773 1.1% 20,708 0.1% 7,279,408 8.2% 1,264 0.0% 1,120,568 1.4% 14,848 0.0%
yii\validators\UniqueValidator::validateAttribute 116 0.0% 312,538 1.1% 1,119 0.0% 857,688 1.0% 26,872 0.0% 2,736,320 3.3% 0 0.0%
yii\db\Connection::useMaster 116 0.0% 303,874 1.1% 384 0.0% 723,304 0.8% -80,120 -0.1% 2,617,584 3.2% 0 0.0%
yii\validators\UniqueValidator::yii\validators\{closure} 116 0.0% 303,490 1.1% 212 0.0% 803,424 0.9% 616 0.0% 2,617,584 3.2% 0 0.0%
yii\validators\UniqueValidator::modelExists 116 0.0% 303,278 1.1% 2,289 0.0% 802,808 0.9% -384,648 -0.4% 2,617,584 3.2% 128 0.0%
yii\BaseYii::endProfile 11,724 0.9% 302,006 1.1% 32,054 0.1% 22,316,048 25.0% 1,688 0.0% 27,431,816 33.1% 0 0.0%
yii\di\Container::build 13,779 1.0% 294,062 1.0% 134,343 0.5% 7,277,040 8.2% -699,152 -0.8% 1,105,720 1.3% 101,192 0.1%
yii\db\Command::queryAll 176 0.0% 291,830 1.0% 328 0.0% 6,998,824 7.8% 584 0.0% 2,218,952 2.7% 0 0.0%
yii\db\ActiveRecord::refresh 116 0.0% 288,356 1.0% 930 0.0% 2,656,392 3.0% -219,800 -0.2% 2,024,944 2.4% 0 0.0%
yii\BaseYii::info 11,725 0.9% 283,236 1.0% 24,332 0.1% 23,701,024 26.6% 1,672 0.0% 18,001,592 21.7% 0 0.0%
yii\db\ActiveQuery::populate 409 0.0% 264,017 0.9% 2,712 0.0% 5,704,520 6.4% -86,336 -0.1% 75,144 0.1% 0 0.0%
yii\db\Command::getRawSql 11,722 0.9% 239,430 0.8% 87,238 0.3% 1,554,072 1.7% 947,672 1.1% 1,944 0.0% 920 0.0%
yii\db\Command::prepare 11,722 0.9% 205,267 0.7% 93,838 0.3% 18,502,888 20.7% 20,845,384 23.4% 0 0.0% 0 0.0%
yii\db\QueryBuilder::buildWhere 11,606 0.8% 183,797 0.7% 13,614 0.0% 1,227,952 1.4% 90,720 0.1% 155,912 0.2% 256 0.0%
yii\BaseYii::beginProfile 11,724 0.9% 182,184 0.6% 22,186 0.1% 22,862,080 25.6% 1,704 0.0% 30,740,360 37.1% 0 0.0%
yii\db\QueryBuilder::buildCondition 12,192 0.9% 170,372 0.6% 27,363 0.1% 1,138,304 1.3% -715,320 -0.8% 155,656 0.2% 256 0.0%
yii\log\Logger::flush 37 0.0% 169,177 0.6% 441 0.0% 1,098,344 1.2% -1,303,424 -1.5% 31,901,216 38.5% 9,544 0.0%
yii\log\Dispatcher::dispatch 37 0.0% 168,736 0.6% 1,619 0.0% 2,401,768 2.7% 712 0.0% 31,891,672 38.5% 9,672 0.0%
yii\db\ActiveQuery::findWith 59 0.0% 166,753 0.6% 387 0.0% 2,441,680 2.7% -172,024 -0.2% 63,296 0.1% 0 0.0%
yii\db\ActiveQuery::one@1 60 0.0% 163,072 0.6% 470 0.0% 1,879,792 2.1% -23,544 -0.0% 52,928 0.1% 0 0.0%
yii\db\ActiveQuery::populateRelation 59 0.0% 162,038 0.6% 511 0.0% 1,961,080 2.2% 728 0.0% 52,928 0.1% 0 0.0%
yii\base\BaseObject::__construct 16,070 1.2% 161,172 0.6% 34,386 0.1% 3,924,544 4.4% -378,664 -0.4% 1,865,792 2.3% 79,352 0.1%
yii\db\QueryBuilder::prepareUpdateSets 11,136 0.8% 151,875 0.5% 52,451 0.2% 13,367,984 15.0% 8,820,504 9.9% 0 0.0% 0 0.0%
yii\base\Component::trigger 2,160 0.2% 144,977 0.5% 6,796 0.0% 11,238,200 12.6% -13,792 -0.0% 1,699,320 2.0% 33,008 0.0%
yii\db\Connection::quoteValue 11,775 0.9% 144,965 0.5% 22,743 0.1% 605,864 0.7% 664 0.0% 1,024 0.0% 256 0.0%
yii\db\Connection::beginTransaction 117 0.0% 142,653 0.5% 824 0.0% 573,392 0.6% 24,336 0.0% 2,380,480 2.9% 112 0.0%
yii\db\Transaction::begin 117 0.0% 140,878 0.5% 10,146 0.0% 541,984 0.6% 5,096 0.0% 2,299,416 2.8% 0 0.0%
yii\db\Transaction::commit 117 0.0% 138,611 0.5% 16,300 0.1% 593,312 0.7% 6,664 0.0% 171,472 0.2% 0 0.0%
yii\db\Schema::getTableSchema 25,428 1.9% 129,006 0.5% 23,488 0.1% 859,216 1.0% 1,688 0.0% 38,920 0.0% 0 0.0%
yii\db\Schema::createSavepoint 58 0.0% 128,521 0.5% 39,618 0.1% 292,864 0.3% -66,152 -0.1% 2,294,104 2.8% 0 0.0%
yii\db\Schema::quoteValue 11,775 0.9% 121,003 0.4% 69,647 0.2% 604,664 0.7% 586,328 0.7% 768 0.0% 280 0.0%
yii\log\Target::collect 999 0.1% 120,779 0.4% 1,926 0.0% 334,992 0.4% -35,885,592 -40.2% 2,286,352 2.8% 648 0.0%
yii\db\QueryBuilder::buildExpression 11,547 0.8% 119,038 0.4% 27,266 0.1% 1,118,584 1.3% 808 0.0% 117,656 0.1% 0 0.0%
yii\log\Target::filterMessages 999 0.1% 118,763 0.4% 118,763 0.4% 36,220,064 40.6% 36,220,064 40.6% 2,285,184 2.8% 2,285,184 2.8%
yii\db\Schema::releaseSavepoint 58 0.0% 117,899 0.4% 36,999 0.1% 330,248 0.4% -67,080 -0.1% 171,472 0.2% 0 0.0%
yii\db\pgsql\QueryBuilder::normalizeTableRowData 11,136 0.8% 107,741 0.4% 31,994 0.1% 1,784 0.0% 680 0.0% 0 0.0% 0 0.0%
yii\db\Schema::getTableMetadata 25,428 1.9% 105,518 0.4% 66,165 0.2% 857,528 1.0% -48,056 -0.1% 38,920 0.0% 0 0.0%
yii\web\AssetBundle::register 1 0.0% 105,095 0.4% 3 0.0% 259,112 0.3% 568 0.0% 0 0.0% 0 0.0%
yii\web\View::registerAssetBundle 1 0.0% 105,092 0.4% 11 0.0% 258,544 0.3% 1,104 0.0% 0 0.0% 0 0.0%
yii\web\AssetManager::getBundle 2 0.0% 105,058 0.4% 7 0.0% 254,504 0.3% 1,512 0.0% 0 0.0% 0 0.0%
yii\web\AssetManager::loadBundle 2 0.0% 105,051 0.4% 10 0.0% 252,992 0.3% 664 0.0% 0 0.0% 0 0.0%
yii\web\AssetBundle::publish 2 0.0% 104,929 0.4% 29 0.0% 239,832 0.3% 1,608 0.0% 0 0.0% 0 0.0%
yii\web\AssetManager::publish 2 0.0% 104,297 0.4% 62 0.0% 159,312 0.2% 1,024 0.0% 0 0.0% 0 0.0%
yii\web\AssetManager::publishDirectory 2 0.0% 104,234 0.4% 40 0.0% 157,768 0.2% 1,192 0.0% 0 0.0% 0 0.0%
yii\helpers\BaseFileHelper::copyDirectory 1 0.0% 103,342 0.4% 99,941 0.4% 6,760 0.0% 576 0.0% 0 0.0% 0 0.0%
common\macronModels\ActiveRecord::_convertDateTimeAttributes 525 0.0% 92,736 0.3% 5,749 0.0% 61,176 0.1% 50,840 0.1% 0 0.0% 0 0.0%
common\macronModels\ActiveRecord::updateInternal 116 0.0% 87,904 0.3% 429 0.0% 1,636,072 1.8% 872 0.0% 1,667,680 2.0% 0 0.0%
api\components\ConstructorController::beforeAction 1 0.0% 82,986 0.3% 18 0.0% 8,382,104 9.4% 1,256 0.0% 1,032,736 1.2% 0 0.0%
yii\i18n\Formatter::asDate 474 0.0% 81,048 0.3% 761 0.0% 69,656 0.1% -17,224 -0.0% 0 0.0% 0 0.0%
yii\i18n\Formatter::formatDateTimeValue 474 0.0% 80,287 0.3% 64,423 0.2% 86,880 0.1% -405,144 -0.5% 0 0.0% 0 0.0%
api\components\ModelController::beforeAction 1 0.0% 79,537 0.3% 9 0.0% 7,798,992 8.7% 824 0.0% 378,976 0.5% 0 0.0%
yii\web\Controller::beforeAction 1 0.0% 79,504 0.3% 3 0.0% 7,794,648 8.7% 616 0.0% 378,976 0.5% 0 0.0%
yii\base\Controller::beforeAction 1 0.0% 79,501 0.3% 4 0.0% 7,794,032 8.7% 664 0.0% 378,976 0.5% 0 0.0%
yii\db\ActiveQuery::createCommand 469 0.0% 76,945 0.3% 3,164 0.0% 2,061,784 2.3% -396,008 -0.4% 741,488 0.9% 512 0.0%
yii\db\Command::setSql 22,858 1.7% 74,700 0.3% 35,057 0.1% 66,528 0.1% 1,232 0.0% 205,624 0.2% 16,896 0.0%
yii\base\ActionFilter::beforeFilter 6 0.0% 74,243 0.3% 25 0.0% 6,742,696 7.6% 3,304 0.0% 378,976 0.5% 0 0.0%
yii\filters\auth\CompositeAuth::beforeAction 1 0.0% 73,744 0.3% 2 0.0% 6,679,352 7.5% 616 0.0% 378,976 0.5% 0 0.0%
yii\filters\auth\AuthMethod::beforeAction 1 0.0% 73,742 0.3% 7 0.0% 6,678,736 7.5% 824 0.0% 378,976 0.5% 0 0.0%
api\filters\auth\CompositeAuth::authenticate 1 0.0% 73,732 0.3% 4 0.0% 6,675,672 7.5% 760 0.0% 378,976 0.5% 0 0.0%
yii\filters\auth\CompositeAuth::authenticate 1 0.0% 73,709 0.3% 11 0.0% 6,669,856 7.5% 1,200 0.0% 378,976 0.5% 0 0.0%
yii\filters\auth\HttpHeaderAuth::authenticate 1 0.0% 73,522 0.3% 7 0.0% 6,647,552 7.4% 760 0.0% 378,976 0.5% 0 0.0%
yii\web\User::loginByAccessToken 1 0.0% 73,513 0.3% 8 0.0% 6,645,656 7.4% 744 0.0% 378,976 0.5% 0 0.0%
yii\db\conditions\HashConditionBuilder::build 11,663 0.9% 70,445 0.2% 56,681 0.2% 996,392 1.1% 482,840 0.5% 72,200 0.1% 45,648 0.1%
[ display all ]