« 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 3,914 µs 3,746 µs 27,864 bytes 21,048 bytes 1,246,279 µs
(98 %)
42,682 µs
(71 %)
786,248 bytes
(55 %)
668,504 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 3,692 µs 2,445 µs 72,720 bytes bytes 1,259,863 µs
(99 %)
51,467 µs
(86 %)
1,264,864 bytes
(88 %)
668,504 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 1,851 µs 1,213 µs 89,520 bytes bytes
load::Vouchers/CodeGenerator_php 1 438 µs 142 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,942 µs 1,068 µs 6,688 bytes bytes
load::Tenant/LocationPlan_php 1 50 µs 52 µs 3,456 bytes bytes
load::Relations/Pivot_php 1 61 µs 63 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 286 µs 287 µs 41,984 bytes 45,344 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 10 µs µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 94 µs 96 µs 7,392 bytes 29,816 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 52 µs 53 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 152 µs 153 µs 7,224 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 1,059,815 µs 20,530 µs 235,744 bytes 292,016 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 165,164 µs 6,606 µs 96,328 bytes 86,672 bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 146 µs 145 µs 2,072 bytes bytes
load::Casts/MacToInt_php 1 149 µs 151 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 54 µs 55 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 26 µs 28 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 3,676 µs 2,017 µs 32,416 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 177 µs 177 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 80 µs 1,040 µs 3,368 bytes 9,584 bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 246 µs 417 µs 31,664 bytes 42,928 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,459 µs 2,937 µs 95,928 bytes 79,696 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 96 µs 97 µs 7,896 bytes 8,088 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,327 µs 1,584 µs 67,120 bytes 53,312 bytes