« 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 13,587 µs 8,393 µs 14,512 bytes bytes 1,258,200 µs
(98 %)
40,381 µs
(73 %)
167,680 bytes
(76 %)
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
main()
Percent of total request
1 27,749 µs 12,960 µs -83,920 bytes bytes 1,288,839 µs
(100 %)
55,088 µs
(100 %)
221,864 bytes
(100 %)
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,877 µs 1,086 µs 9,160 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,935 µs 1,326 µs 6,056 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 20 µs 21 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 121 µs 121 µs 10,216 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,059,612 µs 18,128 µs -46,384 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 172,233 µs 6,663 µs 81,832 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 104 µs 109 µs 776 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 269 µs 269 µs 800 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,320 µs 3,082 µs 78,168 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,113 µs 1,171 µs 9,256 bytes bytes