« 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 7,522 µs 5,410 µs 14,512 bytes bytes 1,243,227 µs
(98 %)
40,235 µs
(78 %)
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 22,346 µs 10,397 µs -83,856 bytes bytes 1,268,036 µs
(100 %)
51,902 µs
(100 %)
221,928 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,323 µs 693 µs 9,160 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,882 µs 990 µs 6,056 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 16 µs 16 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 140 µs 141 µs 10,216 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,060,185 µs 19,498 µs -46,384 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 162,736 µs 6,768 µs 81,832 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 105 µs 303 µs 776 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 218 µs 219 µs 800 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,476 µs 3,628 µs 78,168 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,613 µs 2,557 µs 9,256 bytes bytes