« 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 4,686 µs 3,984 µs 28,216 bytes bytes 17,633,077 µs
(100 %)
123,938 µs
(88 %)
833,736 bytes
(77 %)
86,264 bytes
(100 %)

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 8,783 µs 4,430 µs -46,680 bytes bytes 17,647,569 µs
(100 %)
132,020 µs
(93 %)
989,328 bytes
(91 %)
86,264 bytes
(100 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 4,858 µs 3,668 µs 168,680 bytes bytes
load::Vouchers/CodeGenerator_php 1 163 µs 166 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,737 µs 1,504 µs 5,408 bytes bytes
load::Tenant/LocationPlan_php 1 69 µs 71 µs 3,456 bytes bytes
load::Relations/Pivot_php 1 194 µs 197 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 589 µs 591 µs 41,984 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 12 µs 13 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 135 µs 137 µs 7,392 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 87 µs 88 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 308 µs 309 µs 5,232 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
Illuminate\Database\Eloquent\Builder::create 1 17,383,285 µs 95,214 µs 116,672 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 219,855 µs 6,893 µs 104,520 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 138 µs 140 µs 776 bytes bytes
load::Casts/MacToInt_php 1 123 µs 124 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 57 µs 58 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 32 µs 33 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 4,987 µs 3,151 µs 32,256 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 198 µs 201 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 65 µs 67 µs 3,368 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 293 µs 397 µs 31,664 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,974 µs 4,298 µs 94,776 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 168 µs 305 µs 7,896 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 4,048 µs 2,307 µs 151,856 bytes 86,264 bytes