« 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 15,018 µs 5,863 µs 26,584 bytes bytes 1,447,985 µs
(96 %)
66,170 µs
(78 %)
753,744 bytes
(59 %)
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 4,541 µs 3,364 µs -20,968 bytes bytes 1,461,666 µs
(97 %)
74,985 µs
(89 %)
1,137,944 bytes
(89 %)
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,885 µs 1,133 µs 86,384 bytes bytes
load::Vouchers/CodeGenerator_php 1 91 µs 93 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,933 µs 1,006 µs 6,056 bytes bytes
load::Tenant/LocationPlan_php 1 50 µs 52 µs 7,552 bytes bytes
load::Relations/Pivot_php 1 42 µs 42 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 281 µs 284 µs 123,904 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 121 µs 123 µs 7,392 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 24 µs 23 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 180 µs 181 µ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,071,084 µs 27,508 µs 122,064 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 309,602 µs 10,976 µs 96,328 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 176 µs 180 µs 776 bytes bytes
load::Casts/MacToInt_php 1 155 µs 155 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 75 µs 77 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 104 µs 87 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 12,189 µs 6,908 µs 32,256 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 582 µs 481 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 151 µs 153 µs 3,368 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 315 µs 317 µs 31,664 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 13,583 µs 5,551 µs 94,776 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 312 µs 250 µs 7,896 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 19,007 µs 4,695 µs 69,936 bytes bytes