« 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,640 µs 3,859 µs 26,904 bytes bytes 8,087,672 µs
(100 %)
66,974 µs
(77 %)
753,504 bytes
(51 %)
233,872 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 4,320 µs 2,618 µs -9,200 bytes bytes 8,103,612 µs
(100 %)
76,972 µs
(89 %)
1,232,544 bytes
(83 %)
233,872 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 2,377 µs 1,333 µs 90,800 bytes bytes
load::Vouchers/CodeGenerator_php 1 111 µs 112 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,476 µs 1,116 µs 6,688 bytes bytes
load::Tenant/LocationPlan_php 1 57 µs 58 µs 3,456 bytes bytes
load::Relations/Pivot_php 1 101 µs 103 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 248 µs 250 µs 41,984 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 10 µs 12 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 105 µs 105 µs 7,392 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 33 µs 34 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 164 µs 164 µ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 7,846,523 µs 40,816 µs 121,400 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 214,487 µs 6,854 µs 96,328 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 154 µs 362 µs 2,072 bytes bytes
load::Casts/MacToInt_php 1 115 µs 116 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 49 µs 431 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 37 µs 38 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 5,023 µs 4,387 µs 114,176 bytes 38,976 bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 288 µs 290 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 127 µs 109 µs 3,368 bytes 10,712 bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 651 µs 748 µs 31,664 bytes 42,928 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 5,025 µs 3,651 µs 96,088 bytes 79,696 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 129 µs 130 µs 7,896 bytes 8,248 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,726 µs 1,876 µs 66,480 bytes 53,312 bytes