« 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 10,174 µs 8,567 µs 688 bytes 0 bytes 16,138,047 µs
(100 %)
90,906 µs
(85 %)
446,128 bytes
(52 %)
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 3,767 µs 2,334 µs -11,616 bytes 0 bytes 16,150,594 µs
(100 %)
97,353 µs
(91 %)
707,656 bytes
(83 %)
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,606 µs 1,370 µs 86,408 bytes 0 bytes
load::Vouchers/CodeGenerator_php 1 224 µs 227 µs 7,296 bytes 0 bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,820 µs 1,266 µs 6,056 bytes 0 bytes
App\Models\Tenant\Voucher::generateFullCode 1 3 µs 4 µs 680 bytes 0 bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 122 µs 124 µs 7,392 bytes 0 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 24 µs 26 µs 1,344 bytes 0 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 2 µs 2 µs 632 bytes 0 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 3 µs 4 µs 632 bytes 0 bytes
Illuminate\Database\Eloquent\Builder::create 1 14,335,706 µs 65,890 µs 36,552 bytes 0 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,775,010 µs 6,807 µs 83,344 bytes 0 bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 134 µs 406 µs 792 bytes 0 bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 265 µs 266 µs 800 bytes 0 bytes
load::Voucher/VoucherActivated_php 1 107 µs 108 µs 3,368 bytes 0 bytes
App\Events\Voucher\VoucherActivated::__construct 1 3 µs 3 µs 632 bytes 0 bytes
load::Voucher/SendStatusPageSmsNotification_php 1 312 µs 316 µs 31,664 bytes 0 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,645 µs 3,440 µs 104,160 bytes 0 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 109 µs 111 µs 7,896 bytes 0 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,778 µs 1,969 µs 65,792 bytes 0 bytes