« 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,310 µs 3,416 µs 26,904 bytes bytes 1,250,606 µs
(97 %)
46,056 µs
(74 %)
752,224 bytes
(58 %)
bytes
(0 %)

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,499 µs 2,365 µs -21,800 bytes bytes 1,263,200 µs
(98 %)
53,644 µs
(86 %)
1,138,464 bytes
(87 %)
bytes
(0 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,999 µs 1,313 µs 85,424 bytes bytes
load::Vouchers/CodeGenerator_php 1 124 µs 125 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,090 µs 1,256 µs 10,784 bytes bytes
load::Tenant/LocationPlan_php 1 54 µs 56 µs 3,456 bytes bytes
load::Relations/Pivot_php 1 78 µs 80 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 291 µs 307 µs 41,984 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 11 µs 10 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 138 µs 139 µs 7,392 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 28 µs 29 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 188 µs 189 µ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,060,421 µs 20,901 µs 203,960 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 166,235 µs 7,607 µs 96,328 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 168 µs 172 µs 2,072 bytes bytes
load::Casts/MacToInt_php 1 107 µs 108 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 57 µs 194 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 34 µs 34 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 4,275 µs 2,954 µs 32,256 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 181 µs 181 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 71 µs 72 µs 3,368 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 230 µs 232 µs 31,664 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,117 µs 3,923 µs 96,088 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 188 µs 522 µs 7,896 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 4,193 µs 2,212 µs 65,840 bytes bytes