« 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,885 µs 6,314 µs -2,064 bytes 0 bytes 2,856,248 µs
(96 %)
66,676 µs
(73 %)
536,104 bytes
(55 %)
0 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 7,285 µs 2,479 µs -22,448 bytes 0 bytes 2,891,971 µs
(97 %)
78,606 µs
(86 %)
829,024 bytes
(85 %)
0 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 3,041 µs 1,856 µs 85,712 bytes 0 bytes
load::Vouchers/CodeGenerator_php 1 116 µs 118 µs 7,296 bytes 0 bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,573 µs 1,525 µs 6,056 bytes 0 bytes
App\Models\Tenant\Voucher::generateFullCode 1 4 µs 4 µs 680 bytes 0 bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 132 µs 134 µs 7,392 bytes 0 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 31 µs 32 µs 1,344 bytes 0 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 1 µs 2 µs 632 bytes 0 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 6 µs 6 µs 632 bytes 0 bytes
Illuminate\Database\Eloquent\Builder::create 1 2,817,068 µs 44,311 µs 130,928 bytes 0 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 16,060 µs 6,147 µs 83,032 bytes 0 bytes
activity 2 261 µs 262 µs 3,784 bytes 0 bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 119 µs 122 µs 776 bytes 0 bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 268 µs 268 µs 800 bytes 0 bytes
load::Voucher/VoucherActivated_php 1 85 µs 87 µs 3,368 bytes 0 bytes
App\Events\Voucher\VoucherActivated::__construct 1 2 µs 3 µs 632 bytes 0 bytes
load::Voucher/SendStatusPageSmsNotification_php 1 301 µs 304 µs 31,664 bytes 0 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,820 µs 3,487 µs 98,792 bytes 0 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 107 µs 237 µs 7,896 bytes 0 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,368 µs 1,457 µs 66,752 bytes 0 bytes