« 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,217 µs 6,281 µs 14,512 bytes bytes 1,236,131 µs
(98 %)
40,817 µs
(81 %)
156,024 bytes
(61 %)
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 18,553 µs 8,703 µs -37,040 bytes bytes 1,256,044 µs
(100 %)
50,600 µs
(100 %)
256,472 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,352 µs 586 µs 9,160 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,568 µs 874 µs 5,408 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 17 µs 17 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 132 µs 133 µs 10,864 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,059,278 µs 17,988 µs -61,456 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 156,362 µs 7,837 µs 85,232 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 93 µs 97 µs 776 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 310 µs 312 µs 800 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,680 µs 4,654 µs 78,184 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,113 µs 2,026 µs 9,256 bytes bytes