« 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 8,804 µs 4,808 µs 15,888 bytes bytes 1,094,044 µs
(98 %)
32,962 µs
(76 %)
112,224 bytes
(68 %)
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 19,610 µs 9,388 µs -78,168 bytes bytes 1,114,942 µs
(100 %)
43,462 µs
(100 %)
165,856 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 4,819 µs 641 µs 9,840 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,627 µs 1,020 µs 5,408 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 18 µs 19 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,863 µs 2,501 µs 27,896 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 1,006 µs 835 µs 3,224 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 1,053,105 µs 12,744 µs -103,736 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 13,410 µs 5,232 µs 71,728 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 95 µs 97 µs 776 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,719 µs 3,595 µs 72,568 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,571 µs 1,463 µs 5,392 bytes bytes