« Back to run

Function Details

App\Services\RedirectFlow\VoucherCreator::createVoucher

Current function

Function Call Count Self Wall Time Self CPU Self Memory Usage Self Peak Memory Usage Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::createVoucher
Percent of total request
1 5,018 µs 4,584 µs 27,904 bytes 21,048 bytes 2,856,110 µs
(99 %)
50,924 µs
(74 %)
743,944 bytes
(52 %)
717,600 bytes
(52 %)

Parent functions

Function Call Count Self Wall Time Self CPU Self Memory Usage Self Peak Memory Usage Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP…
Percent of total request
1 3,638 µs 2,359 µs -10,256 bytes bytes 2,872,374 µs
(99 %)
58,952 µs
(86 %)
1,220,352 bytes
(86 %)
1,215,416 bytes
(89 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,479 µs 1,041 µs 90,512 bytes 73,560 bytes
load::Vouchers/CodeGenerator_php 1 87 µs 88 µs 7,296 bytes 6,408 bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,163 µs 924 µs 6,056 bytes 4,032 bytes
load::Tenant/LocationPlan_php 1 81 µs 82 µs 3,456 bytes 440 bytes
load::Relations/Pivot_php 1 51 µs 51 µs 3,136 bytes 2,056 bytes
load::Concerns/AsPivot_php 1 387 µs 389 µs 123,904 bytes 132,528 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs 10 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 105 µs 106 µs 7,392 bytes 29,816 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 40 µs 41 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
App\Helpers\ArrayHelper::merge 1 12 µs 13 µs 1,496 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,063,848 µs 26,443 µs 109,312 bytes 172,048 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,766,074 µs 7,038 µs 96,320 bytes 74,920 bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 148 µs 151 µs 792 bytes bytes
load::Casts/MacToInt_php 1 114 µs 114 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 50 µs 51 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 35 µs 35 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 5,028 µs 4,232 µs 32,376 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 215 µs 282 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 61 µs 63 µs 3,368 bytes 8,488 bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 282 µs 285 µs 31,664 bytes 42,928 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,509 µs 2,797 µs 104,160 bytes 88,952 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 198 µs 200 µs 7,896 bytes 7,064 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 4,102 µs 1,885 µs 67,120 bytes 53,312 bytes