« 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 6,706 µs 5,341 µs 111,000 bytes bytes 2,315,566 µs
(98 %)
59,190 µs
(78 %)
747,632 bytes
(74 %)
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 8,080 µs 4,024 µs -47,736 bytes bytes 2,329,983 µs
(99 %)
66,659 µs
(88 %)
902,800 bytes
(90 %)
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 4,109 µs 1,606 µs 87,400 bytes bytes
load::Vouchers/CodeGenerator_php 1 143 µs 144 µs 7,296 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,732 µs 1,284 µs 5,408 bytes bytes
load::Tenant/LocationPlan_php 1 67 µs 69 µs 3,456 bytes bytes
load::Relations/Pivot_php 1 75 µs 76 µs 3,136 bytes bytes
load::Concerns/AsPivot_php 1 506 µs 412 µs 41,984 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs 11 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 312 µs 314 µs 7,392 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 46 µs 47 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 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,064,116 µs 29,896 µs 78,000 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,220,788 µs 7,933 µs 115,728 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 183 µs 205 µs 792 bytes bytes
load::Casts/MacToInt_php 1 149 µs 149 µs 5,592 bytes bytes
load::Eloquent/CastsAttributes_php 1 66 µs 67 µs 4,656 bytes bytes
Illuminate\Database\Eloquent\Model::getClassCastableAttributeValu… 2 41 µs 42 µs 2,208 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 2 µs µs 712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 4,853 µs 3,233 µs 32,376 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 357 µs 1,104 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 119 µs 120 µs 3,368 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 345 µs 541 µs 31,664 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,479 µs 3,992 µs 104,160 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 148 µs 149 µs 7,896 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 4,197 µs 2,428 µs 86,792 bytes bytes