« 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,088 µs 5,979 µs 37,112 bytes 19,768 bytes 1,258,104 µs
(98 %)
45,838 µs
(72 %)
606,144 bytes
(56 %)
579,800 bytes
(53 %)

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 2,666 µs 1,478 µs -30,696 bytes 6,800 bytes 1,269,558 µs
(99 %)
53,738 µs
(85 %)
873,704 bytes
(81 %)
889,072 bytes
(82 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,696 µs 1,037 µs 86,816 bytes 73,672 bytes
load::Vouchers/CodeGenerator_php 1 115 µs 116 µs 7,296 bytes 2,600 bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,662 µs 1,386 µs 10,152 bytes 4,032 bytes
load::Tenant/LocationPlan_php 1 106 µs 108 µs 3,456 bytes 4,536 bytes
load::Relations/Pivot_php 1 51 µs 52 µs 3,136 bytes 2,056 bytes
load::Concerns/AsPivot_php 1 332 µs 334 µs 123,904 bytes 132,528 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 10 µs 12 µs 632 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 168 µs 169 µs 7,392 bytes 29,152 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 41 µs 42 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 253 µs 254 µs 6,560 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
App\Helpers\ArrayHelper::merge 1 13 µs 14 µs 1,496 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 1,059,532 µs 22,642 µs 20,032 bytes 124,080 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 174,944 µs 6,394 µs 84,248 bytes 29,328 bytes
activity 2 288 µs 302 µs 3,784 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 94 µs 286 µs 776 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 158 µs 160 µs 800 bytes bytes
load::Voucher/VoucherActivated_php 1 99 µs 99 µs 3,368 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 243 µs 244 µs 31,504 bytes 18,088 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,585 µs 3,714 µs 94,792 bytes 79,584 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 139 µs 141 µs 7,896 bytes 7,064 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 3,478 µs 2,341 µs 67,120 bytes 53,312 bytes