« 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,309 µs 5,379 µs 14,576 bytes bytes 1,237,091 µs
(98 %)
35,722 µs
(79 %)
167,808 bytes
(62 %)
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 5,651 µs 2,999 µs -22,648 bytes bytes 1,244,565 µs
(99 %)
39,700 µs
(87 %)
206,032 bytes
(76 %)
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,168 µs 511 µs 9,160 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 2,150 µs 842 µs 5,408 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 13 µs 14 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 124 µs 125 µs 10,216 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 19 µs 19 µs 632 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,057,012 µs 16,374 µs -45,688 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 160,315 µs 6,467 µs 81,832 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 85 µs 89 µs 776 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 222 µs 225 µs 800 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 5,920 µs 3,940 µs 78,184 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 2,748 µs 1,729 µs 9,256 bytes bytes