« 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 4,021 µs 2,602 µs 13,008 bytes 20,032 bytes 2,346,784 µs
(96 %)
132,376 µs
(79 %)
1,358,576 bytes
(53 %)
1,337,496 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 1,242 µs 1,031 µs -37,952 bytes bytes 2,391,516 µs
(98 %)
155,145 µs
(92 %)
2,282,240 bytes
(88 %)
2,299,080 bytes
(90 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 3,202 µs 1,710 µs 87,200 bytes 73,672 bytes
load::Vouchers/CodeGenerator_php 1 131 µs 132 µs 7,296 bytes 2,984 bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 6,366 µs 1,408 µs 6,688 bytes 4,792 bytes
load::Tenant/LocationPlan_php 1 65 µs 66 µs 3,456 bytes 312 bytes
load::Relations/Pivot_php 1 49 µs 49 µs 3,136 bytes 2,056 bytes
load::Concerns/AsPivot_php 1 396 µs 417 µs 41,984 bytes 50,608 bytes
Illuminate\Database\Eloquent\Model::__callStatic 2 1,120,690 µs 91,879 µs 724,576 bytes 774,440 bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 3 10 µs 13 µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::__isset 3 70 µs 73 µs 3,320 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 688 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 284 µs 286 µs 7,392 bytes 30,864 bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 54 µs 56 µs 1,976 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 1 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 1 µs µs 632 bytes bytes
load::Helpers/ArrayHelper_php 1 340 µs 342 µs 28,968 bytes 38,432 bytes
App\Helpers\ArrayHelper::merge 1 17 µs 19 µs 9,688 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,182,457 µs 12,816 µs 112,168 bytes 90,328 bytes
activity 2 588 µs 588 µs 3,784 bytes bytes
Spatie\Activitylog\ActivityLogger::performedOn 2 338 µs 476 µs 1,544 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 431 µs 450 µs 3,400 bytes bytes
Spatie\Activitylog\ActivityLogger::event 2 26 µs 27 µs 600 bytes bytes
Spatie\Activitylog\ActivityLogger::log 2 5,914 µs 5,565 µs 14,560 bytes 2,984 bytes
Illuminate\Database\Eloquent\Model::__set 2 25 µs 26 µs 1,712 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 8,438 µs 6,260 µs 35,888 bytes 3,496 bytes
load::Voucher/VoucherActivated_php 1 73 µs 74 µs 3,368 bytes 16,800 bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 261 µs 262 µs 31,664 bytes 42,928 bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 7,299 µs 3,698 µs 116,096 bytes 99,864 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 187 µs 188 µs 7,896 bytes 8,088 bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 5,042 µs 2,879 µs 83,360 bytes 74,816 bytes